Searched refs:mk_secret (Results 1 – 3 of 3) sorted by relevance
/fs/crypto/ |
D | keysetup.c | 209 if (mk->mk_secret.is_hw_wrapped && S_ISREG(inode->i_mode)) { in setup_per_mode_enc_key() 236 mk->mk_secret.raw, in setup_per_mode_enc_key() 237 mk->mk_secret.size, true, in setup_per_mode_enc_key() 253 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, in setup_per_mode_enc_key() 284 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, context, info, infolen, in fscrypt_derive_siphash_key() 366 if (mk->mk_secret.is_hw_wrapped && in fscrypt_setup_v2_file_key() 402 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, in fscrypt_setup_v2_file_key() 452 if (mk->mk_secret.size < min_keysize) { in fscrypt_valid_master_key_size() 458 mk->mk_secret.size, min_keysize); in fscrypt_valid_master_key_size() 535 err = fscrypt_select_encryption_impl(ci, mk->mk_secret.is_hw_wrapped); in setup_file_encryption_key() [all …]
|
D | keyring.c | 132 wipe_master_key_secret(&mk->mk_secret); in fscrypt_initiate_key_removal() 452 move_master_key_secret(&mk->mk_secret, secret); in add_new_master_key() 503 move_master_key_secret(&mk->mk_secret, secret); in add_existing_master_key()
|
D | fscrypt_private.h | 593 struct fscrypt_master_key_secret mk_secret; member
|