Function report |
Source Code:fs\crypto\keysetup.c |
Create Date:2022-07-28 20:24:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fscrypt_setup_v2_file_key
Proto:static int fscrypt_setup_v2_file_key(struct fscrypt_info *ci, struct fscrypt_master_key *mk)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fscrypt_info * | ci | |
| struct fscrypt_master_key * | mk |
| 180 | If flags & FSCRYPT_POLICY_FLAG_DIRECT_KEY Then |
| 190 | fscrypt_warn(Back-pointer to the inode , "Direct key flag not allowed with %s", friendly_name) |
| 193 | Return -EINVAL |
| 197 | Else if flags & FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 Then |
| 219 | Return err |
| Name | Describe |
|---|---|
| setup_file_encryption_key | Find 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |