@deftypefun {gnutls_digest_algorithm_t} {gnutls_early_prf_hash_get} (const gnutls_session_t @var{session}) @var{session}: is a @code{gnutls_session_t} type. Get the hash algorithm used as a PRF to derive keys for encrypting early data in TLS 1.3. @strong{Returns:} the hash algorithm used for early data, a @code{gnutls_digest_algorithm_t} value. @strong{Since:} 3.7.2 @end deftypefun