Searched refs:mk_secret (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/fs/crypto/ |
D | keysetup.c | 225 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, in setup_per_mode_enc_key() 256 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, context, info, infolen, in fscrypt_derive_siphash_key() 366 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, in fscrypt_setup_v2_file_key() 416 if (mk->mk_secret.size < min_keysize) { in fscrypt_valid_master_key_size() 422 mk->mk_secret.size, min_keysize); in fscrypt_valid_master_key_size() 488 if (!is_master_key_secret_present(&mk->mk_secret)) { in setup_file_encryption_key() 500 err = fscrypt_setup_v1_file_key(ci, mk->mk_secret.raw); in setup_file_encryption_key() 804 return !is_master_key_secret_present(&ci->ci_master_key->mk_secret); in fscrypt_drop_inode()
|
D | keyring.c | 105 WARN_ON_ONCE(is_master_key_secret_present(&mk->mk_secret)); in fscrypt_put_master_key_activeref() 242 WARN_ON_ONCE(!is_master_key_secret_present(&mk->mk_secret)); in fscrypt_destroy_keyring() 243 wipe_master_key_secret(&mk->mk_secret); in fscrypt_destroy_keyring() 441 move_master_key_secret(&mk->mk_secret, secret); in add_new_master_key() 482 if (!is_master_key_secret_present(&mk->mk_secret)) { in add_existing_master_key() 485 move_master_key_secret(&mk->mk_secret, secret); in add_existing_master_key() 1058 if (is_master_key_secret_present(&mk->mk_secret)) { in do_remove_key() 1059 wipe_master_key_secret(&mk->mk_secret); in do_remove_key() 1153 if (!is_master_key_secret_present(&mk->mk_secret)) { in fscrypt_ioctl_get_key_status()
|
D | hooks.c | 190 if (is_master_key_secret_present(&mk->mk_secret)) in fscrypt_prepare_setflags()
|
D | fscrypt_private.h | 482 struct fscrypt_master_key_secret mk_secret; member
|