Searched refs:prk (Results 1 – 1 of 1) sorted by relevance
/fs/crypto/ |
D | hkdf.c | 44 unsigned int ikmlen, u8 prk[HKDF_HASHLEN]) in hkdf_extract() 55 err = crypto_shash_digest(desc, ikm, ikmlen, prk); in hkdf_extract() 71 u8 prk[HKDF_HASHLEN]; in fscrypt_init_hkdf() local 81 if (WARN_ON(crypto_shash_digestsize(hmac_tfm) != sizeof(prk))) { in fscrypt_init_hkdf() 86 err = hkdf_extract(hmac_tfm, master_key, master_key_size, prk); in fscrypt_init_hkdf() 90 err = crypto_shash_setkey(hmac_tfm, prk, sizeof(prk)); in fscrypt_init_hkdf() 100 memzero_explicit(prk, sizeof(prk)); in fscrypt_init_hkdf()
|