Searched refs:secret (Results 1 – 2 of 2) sorted by relevance
41 static void wipe_master_key_secret(struct fscrypt_master_key_secret *secret) in wipe_master_key_secret() argument43 fscrypt_destroy_hkdf(&secret->hkdf); in wipe_master_key_secret()44 memzero_explicit(secret, sizeof(*secret)); in wipe_master_key_secret()414 struct fscrypt_master_key_secret *secret, in add_new_master_key() argument441 move_master_key_secret(&mk->mk_secret, secret); in add_new_master_key()458 struct fscrypt_master_key_secret *secret) in add_existing_master_key() argument485 move_master_key_secret(&mk->mk_secret, secret); in add_existing_master_key()492 struct fscrypt_master_key_secret *secret, in do_add_master_key() argument506 err = add_new_master_key(sb, secret, mk_spec); in do_add_master_key()513 err = add_existing_master_key(mk, secret); in do_add_master_key()[all …]
627 is_master_key_secret_present(const struct fscrypt_master_key_secret *secret) in is_master_key_secret_present() argument636 return READ_ONCE(secret->size) != 0; in is_master_key_secret_present()