Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\fscrypt_private.h Create Date:2022-07-28 20:23:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:is_master_key_secret_present

Proto:static inline bool is_master_key_secret_present(const struct fscrypt_master_key_secret *secret)

Type:bool

Parameter:

TypeParameterName
const struct fscrypt_master_key_secret *secret
406  Return READ_ONCE(Size of the raw key in bytes. Set even if ->raw isn't set. ) != 0
Caller
NameDescribe
fscrypt_key_describe
add_existing_master_key
do_remove_keyTry to remove an fscrypt master encryption key
fscrypt_ioctl_get_key_statusRetrieve the status of an fscrypt master encryption key
setup_file_encryption_keyFind the master key, then set up the inode's actual encryption key.* If the master key is found in the filesystem-level keyring, then the* corresponding 'struct key' is returned in *master_key_ret with* ->mk_secret_sem read-locked
fscrypt_drop_inodescrypt_drop_inode - check whether the inode's master key has been removed* Filesystems supporting fscrypt must call this from their ->drop_inode()* method so that encrypted inodes are evicted as soon as they're no longer in