diff options
Diffstat (limited to 'doc/functions/gnutls_hkdf_extract')
-rw-r--r-- | doc/functions/gnutls_hkdf_extract | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/functions/gnutls_hkdf_extract b/doc/functions/gnutls_hkdf_extract new file mode 100644 index 0000000..b6161f7 --- /dev/null +++ b/doc/functions/gnutls_hkdf_extract @@ -0,0 +1,20 @@ + + + + +@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}) +@var{mac}: the mac algorithm used internally + +@var{key}: the initial keying material + +@var{salt}: the optional salt + +@var{output}: the output value of the extract operation + +This function will derive a fixed-size key using the HKDF-Extract +function as defined in RFC 5869. + +@strong{Returns:} Zero or a negative error code on error. + +@strong{Since:} 3.6.13 +@end deftypefun |