Debian Codegraph @

doc/functions/gnutls_hkdf_extract

raw
1
2
3
4
5 @deftypefun {int} {gnutls_hkdf_extract} (gnutls_mac_algorithm_t @var{mac}, const gnutls_datum_t * @var{key}, const gnutls_datum_t * @var{salt}, void * @var{output})
6 @var{mac}: the mac algorithm used internally
7
8 @var{key}: the initial keying material
9
10 @var{salt}: the optional salt
11
12 @var{output}: the output value of the extract operation
13
14 This function will derive a fixed-size key using the HKDF-Extract
15 function as defined in RFC 5869.
16
17 @strong{Returns:} Zero or a negative error code on error.
18
19 @strong{Since:} 3.6.13
20 @end deftypefun