Home
last modified time | relevance | path

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

/linux/fs/crypto/
H A Dhkdf.c68 int fscrypt_init_hkdf(struct fscrypt_hkdf *hkdf, const u8 *master_key, in fscrypt_init_hkdf() argument
95 hkdf->hmac_tfm = hmac_tfm; in fscrypt_init_hkdf()
116 int fscrypt_hkdf_expand(const struct fscrypt_hkdf *hkdf, u8 context, in fscrypt_hkdf_expand() argument
120 SHASH_DESC_ON_STACK(desc, hkdf->hmac_tfm); in fscrypt_hkdf_expand()
131 desc->tfm = hkdf->hmac_tfm; in fscrypt_hkdf_expand()
179 void fscrypt_destroy_hkdf(struct fscrypt_hkdf *hkdf) in fscrypt_destroy_hkdf() argument
181 crypto_free_shash(hkdf->hmac_tfm); in fscrypt_destroy_hkdf()
H A Dfscrypt_private.h353 int fscrypt_init_hkdf(struct fscrypt_hkdf *hkdf, const u8 *master_key,
371 int fscrypt_hkdf_expand(const struct fscrypt_hkdf *hkdf, u8 context,
375 void fscrypt_destroy_hkdf(struct fscrypt_hkdf *hkdf);
462 struct fscrypt_hkdf hkdf; member
H A DMakefile6 hkdf.o \
H A Dkeysetup.c226 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, in setup_per_mode_enc_key()
257 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, context, info, infolen, in fscrypt_derive_siphash_key()
367 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, in fscrypt_setup_v2_file_key()