summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_hkdf_expand
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_hkdf_expand')
-rw-r--r--doc/functions/gnutls_hkdf_expand23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/functions/gnutls_hkdf_expand b/doc/functions/gnutls_hkdf_expand
new file mode 100644
index 0000000..329cf1c
--- /dev/null
+++ b/doc/functions/gnutls_hkdf_expand
@@ -0,0 +1,23 @@
+
+
+
+
+@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})
+@var{mac}: the mac algorithm used internally
+
+@var{key}: the pseudorandom key created with HKDF-Extract
+
+@var{info}: the optional informational data
+
+@var{output}: the output value of the expand operation
+
+@var{length}: the desired length of the output key
+
+This function will derive a variable length keying material from
+the pseudorandom key using the HKDF-Expand function as defined in
+RFC 5869.
+
+@strong{Returns:} Zero or a negative error code on error.
+
+@strong{Since:} 3.6.13
+@end deftypefun