Added a tls p_hash implementation