Key Derivation Functions

kcapi_kdf_dpi — Double Pipeline Mode Key Derivation Function
kcapi_kdf_fb — Feedback Mode Key Derivation Function
kcapi_kdf_ctr — Counter Mode Key Derivation Function
kcapi_pbkdf — Password-based Key Derivation Function
kcapi_pbkdf_iteration_count — Calculate numbers of iterations for a PBKDF
kcapi_hkdf — Extract-and-Expand HKDF (RFC5869)

API function calls used to invoke a KDF. The KDF functions are based on a message digest or keyed message digest function. The caller must have the handle allocated with kcapi_md_init. If the caller wishes to use a keyed message digest, the caller must invoke kcapi_md_setkey before those functions.