KCAPI_KDF_DPI(3) | Programming Interface | KCAPI_KDF_DPI(3) |
kcapi_kdf_dpi - Double Pipeline Mode Key Derivation Function
ssize_t kcapi_kdf_dpi(struct kcapi_handle * handle, const uint8_t * src, size_t slen, uint8_t * dst, size_t dlen);
handle
src
slen
dst
dlen
This function is an implementation of the KDF in double pipeline iteration mode according with counter to SP800-108 section 5.3.
The caller must provide Label || 0x00 || Context in src. This src pointer may also be NULL if the caller wishes not to provide anything.
return 0 upon success; a negative errno-style error code if an error occurred
Stephan Mueller <smueller@chronox.de>
February 2022 | libkcapi Manual 1.4.0 |