Function report |
Source Code:fs\crypto\keysetup_v1.c |
Create Date:2022-07-28 20:24:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Prepare to encrypt directly using the master key in the given mode
Proto:static struct fscrypt_direct_key *fscrypt_get_direct_key(const struct fscrypt_info *ci, const u8 *raw_key)
Type:struct fscrypt_direct_key
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct fscrypt_info * | ci | |
| const u8 * | raw_key |
| 229 | dk = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 233 | dk_mode = Encryption mode used for this inode. It corresponds to either the* contents or filenames encryption mode, depending on the inode type. |
| 247 | err_free_dk : |
| 248 | free_direct_key(dk) |
| Name | Describe |
|---|---|
| setup_v1_file_key_direct | v1 policy, DIRECT_KEY: use the master key directly |
| 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 |