Searched refs:HKDF_HASHLEN (Results 1 – 1 of 1) sorted by relevance
29 #define HKDF_HASHLEN SHA512_DIGEST_SIZE macro49 unsigned int ikmlen, u8 prk[HKDF_HASHLEN]) in hkdf_extract() argument51 static const u8 default_salt[HKDF_HASHLEN]; in hkdf_extract()54 err = crypto_shash_setkey(hmac_tfm, default_salt, HKDF_HASHLEN); in hkdf_extract()72 u8 prk[HKDF_HASHLEN]; in fscrypt_init_hkdf()126 u8 tmp[HKDF_HASHLEN]; in fscrypt_hkdf_expand()128 if (WARN_ON_ONCE(okmlen > 255 * HKDF_HASHLEN)) in fscrypt_hkdf_expand()136 for (i = 0; i < okmlen; i += HKDF_HASHLEN) { in fscrypt_hkdf_expand()143 err = crypto_shash_update(desc, prev, HKDF_HASHLEN); in fscrypt_hkdf_expand()157 if (okmlen - i < HKDF_HASHLEN) { in fscrypt_hkdf_expand()