函数逻辑报告 |
Source Code:fs\crypto\keysetup_v1.c |
Create Date:2022-07-29 10:57:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:v1 policy, DIRECT_KEY: use the master key directly
函数原型:static int setup_v1_file_key_direct(struct fscrypt_info *ci, const u8 *raw_master_key)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct fscrypt_info * | ci | |
| const u8 * | raw_master_key |
| 256 | mode等于Encryption mode used for this inode. It corresponds to either the* contents or filenames encryption mode, depending on the inode type. |
| 259 | 如果非fscrypt_mode_supports_direct_key(mode)则 |
| 260 | fscrypt_warn(Back-pointer to the inode , "Direct key mode not allowed with %s", friendly_name) |
| 263 | 返回:负EINVAL |
| 268 | fscrypt_warn(Back-pointer to the inode , "Direct key mode not allowed with different contents and filenames modes") |
| 270 | 返回:负EINVAL |
| 276 | If non-NULL, then encryption is done using the master key directly* and ci_ctfm will equal ci_direct_key->dk_ctfm.等于dk |
| 278 | 返回:0 |
| 名称 | 描述 |
|---|---|
| fscrypt_setup_v1_file_key |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |