Home
last modified time | relevance | path

Searched refs:prk (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/crypto/
H A Dhkdf.c49 unsigned int ikmlen, u8 prk[HKDF_HASHLEN]) in hkdf_extract()
58 return crypto_shash_tfm_digest(hmac_tfm, ikm, ikmlen, prk); in hkdf_extract()
72 u8 prk[HKDF_HASHLEN]; in fscrypt_init_hkdf() local
82 if (WARN_ON_ONCE(crypto_shash_digestsize(hmac_tfm) != sizeof(prk))) { in fscrypt_init_hkdf()
87 err = hkdf_extract(hmac_tfm, master_key, master_key_size, prk); in fscrypt_init_hkdf()
91 err = crypto_shash_setkey(hmac_tfm, prk, sizeof(prk)); in fscrypt_init_hkdf()
101 memzero_explicit(prk, sizeof(prk)); in fscrypt_init_hkdf()