Blame doc/functions/gnutls_hkdf_expand

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_hkdf_expand} (gnutls_mac_algorithm_t @var{mac}, const gnutls_datum_t * @var{key}, const gnutls_datum_t * @var{info}, void * @var{output}, size_t @var{length})
Packit Service 4684c1
@var{mac}: the mac algorithm used internally
Packit Service 4684c1
Packit Service 4684c1
@var{key}: the pseudorandom key created with HKDF-Extract
Packit Service 4684c1
Packit Service 4684c1
@var{info}: the optional informational data
Packit Service 4684c1
Packit Service 4684c1
@var{output}: the output value of the expand operation
Packit Service 4684c1
Packit Service 4684c1
@var{length}: the desired length of the output key
Packit Service 4684c1
Packit Service 4684c1
This function will derive a variable length keying material from
Packit Service 4684c1
the pseudorandom key using the HKDF-Expand function as defined in
Packit Service 4684c1
RFC 5869.
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} Zero or a negative error code on error.
Packit Service 4684c1
Packit Service 4684c1
@strong{Since:} 3.6.13
Packit Service 4684c1
@end deftypefun