函数逻辑报告 |
Source Code:fs\crypto\fname.c |
Create Date:2022-07-29 10:56:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ame_decrypt() - decrypt a filename* The caller must have allocated sufficient memory for the @oname string.* Return: 0 on success, -errno on failure
函数原型:static int fname_decrypt(struct inode *inode, const struct fscrypt_str *iname, struct fscrypt_str *oname)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
const struct fscrypt_str * | iname | |
struct fscrypt_str * | oname |
92 | struct skcipher_request * req = NULL |
95 | ci等于i_crypt_info |
101 | req等于skcipher_request_alloc() - allocate request data structure*@tfm: cipher handle to be registered with the request*@gfp: memory allocation flag that is handed to kmalloc by the API call |
109 | fscrypt_generate_iv( & iv, 0, ci) |
112 | 初始化散列表项目 |
113 | 初始化散列表项目 |
117 | 如果res小于0则 |
118 | fscrypt_err(inode, "Filename decryption failed: %d", res) |
119 | 返回:res |
123 | 返回:0 |
名称 | 描述 |
---|---|
fscrypt_fname_disk_to_usr | scrypt_fname_disk_to_usr() - converts a filename from disk space to user* space* The caller must have allocated sufficient memory for the @oname string.* If the key is available, we'll decrypt the disk name; otherwise, we'll encode* it for presentation |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |