Home
last modified time | relevance | path

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

/linux-6.6.21/fs/crypto/
Dhkdf.c118 u8 *okm, unsigned int okmlen) in fscrypt_hkdf_expand() argument
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()
157 if (okmlen - i < HKDF_HASHLEN) { in fscrypt_hkdf_expand()
161 memcpy(&okm[i], tmp, okmlen - i); in fscrypt_hkdf_expand()
174 memzero_explicit(okm, okmlen); /* so caller doesn't need to */ in fscrypt_hkdf_expand()
Dfscrypt_private.h329 u8 *okm, unsigned int okmlen);