Searched refs:prk (Results 1 – 1 of 1) sorted by relevance
/fs/crypto/ |
D | hkdf.c | 51 unsigned int ikmlen, u8 prk[HKDF_HASHLEN]) in hkdf_extract() 60 return crypto_shash_tfm_digest(hmac_tfm, ikm, ikmlen, prk); in hkdf_extract() 74 u8 prk[HKDF_HASHLEN]; in fscrypt_init_hkdf() local 84 if (WARN_ON_ONCE(crypto_shash_digestsize(hmac_tfm) != sizeof(prk))) { in fscrypt_init_hkdf() 89 err = hkdf_extract(hmac_tfm, master_key, master_key_size, prk); in fscrypt_init_hkdf() 93 err = crypto_shash_setkey(hmac_tfm, prk, sizeof(prk)); in fscrypt_init_hkdf() 103 memzero_explicit(prk, sizeof(prk)); in fscrypt_init_hkdf()
|