函数逻辑报告 |
Source Code:fs\crypto\keysetup.c |
Create Date:2022-07-29 10:57:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:fscrypt_setup_v2_file_key
函数原型:static int fscrypt_setup_v2_file_key(struct fscrypt_info *ci, struct fscrypt_master_key *mk)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fscrypt_info * | ci | |
struct fscrypt_master_key * | mk |
180 | 如果flags按位与FSCRYPT_POLICY_FLAG_DIRECT_KEY则 |
190 | fscrypt_warn(Back-pointer to the inode , "Direct key flag not allowed with %s", friendly_name) |
193 | 返回:负EINVAL |
197 | 否则如果flags按位与FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64则 |
219 | 返回:err |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |