Debian Codegraph @

doc/functions/gnutls_prf_hash_get

raw
1
2
3
4
5 @deftypefun {gnutls_digest_algorithm_t} {gnutls_prf_hash_get} (const gnutls_session_t @var{session})
6 @var{session}: is a @code{gnutls_session_t} type.
7
8 Get the currently used hash algorithm. In TLS 1.3, the hash
9 algorithm is used for both the key derivation function and
10 handshake message authentication code. In TLS 1.2, it matches the
11 hash algorithm used for PRF.
12
13 @strong{Returns:} the currently used hash algorithm, a
14 @code{gnutls_digest_algorithm_t} value.
15
16 @strong{Since:} 3.6.13
17 @end deftypefun