函数逻辑报告 |
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_encrypt() - encrypt a filename* The output buffer must be at least as large as the input buffer.* Any extra space is filled with NUL padding before encryption.* Return: 0 on success, -errno on failure
函数原型:int fname_encrypt(struct inode *inode, const struct qstr *iname, u8 *out, unsigned int olen)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct inode * | inode | |
| const struct qstr * | iname | |
| u8 * | out | |
| unsigned int | olen |
| 40 | struct skcipher_request * req = NULL |
| 42 | ci等于i_crypt_info |
| 58 | fscrypt_generate_iv( & iv, 0, ci) |
| 61 | 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 |
| 67 | 初始化散列表项目 |
| 73 | 如果res小于0则 |
| 74 | fscrypt_err(inode, "Filename encryption failed: %d", res) |
| 75 | 返回:res |
| 78 | 返回:0 |
| 名称 | 描述 |
|---|---|
| fscrypt_setup_filename | scrypt_setup_filename() - prepare to search a possibly encrypted directory*@dir: the directory that will be searched*@iname: the user-provided filename being searched for*@lookup: 1 if we're allowed to proceed without the key because it's* ->lookup() or |
| __fscrypt_encrypt_symlink |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |