Module hkdf

Module hkdf 

Source

Constants§

HKDF_CONTEXT_DIRHASH_KEY
HKDF_CONTEXT_INODE_HASH_KEY
HKDF_CONTEXT_IV_INO_LBLK_32_KEY
HKDF_CONTEXT_KEY_IDENTIFIER
HKDF_CONTEXT_PER_FILE_ENC_KEY

Functions§

fscrypt_hkdf
An fscrypt compatible implementation of HKDF (HKDF-extract + HKDF-expand) This is just regular HKDF but with ‘info’ prefixed. context is an fscrypt special.
hkdf
Standard HKDF implementation. See https://datatracker.ietf.org/doc/html/rfc5869 Note that we assume an all-zero seed for PRK. initial_key_material is the data being hashed. info is optional context (can be zero length string) out is populated with the result.