Searched refs:hkdf (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/crypto/ |
| H A D | hkdf.c | 50 void fscrypt_init_hkdf(struct hmac_sha512_key *hkdf, const u8 *master_key, in fscrypt_init_hkdf() argument 58 hmac_sha512_preparekey(hkdf, prk, sizeof(prk)); in fscrypt_init_hkdf() 72 void fscrypt_hkdf_expand(const struct hmac_sha512_key *hkdf, u8 context, in fscrypt_hkdf_expand() argument 83 hmac_sha512_init(&ctx, hkdf); in fscrypt_hkdf_expand()
|
| H A D | fscrypt_private.h | 384 void fscrypt_init_hkdf(struct hmac_sha512_key *hkdf, const u8 *master_key, 404 void fscrypt_hkdf_expand(const struct hmac_sha512_key *hkdf, u8 context, 514 struct hmac_sha512_key hkdf; member
|
| H A D | Makefile | 6 hkdf.o \
|
| H A D | keysetup.c | 256 fscrypt_hkdf_expand(&mk->mk_secret.hkdf, hkdf_context, hkdf_info, in setup_per_mode_enc_key() 282 fscrypt_hkdf_expand(&mk->mk_secret.hkdf, context, info, infolen, in fscrypt_derive_siphash_key() 386 fscrypt_hkdf_expand(&mk->mk_secret.hkdf, in fscrypt_setup_v2_file_key()
|
| H A D | keyring.c | 589 fscrypt_init_hkdf(&secret->hkdf, kdf_key, kdf_key_size); in add_master_key() 597 fscrypt_hkdf_expand(&secret->hkdf, keyid_kdf_ctx, NULL, 0, in add_master_key() 839 fscrypt_init_hkdf(&secret.hkdf, secret.bytes, secret.size); in fscrypt_get_test_dummy_key_identifier() 840 fscrypt_hkdf_expand(&secret.hkdf, in fscrypt_get_test_dummy_key_identifier()
|
| /linux/crypto/ |
| H A D | Makefile | 37 obj-$(CONFIG_CRYPTO_HKDF) += hkdf.o
|