函数逻辑报告 | 
Source Code:fs\crypto\crypto.c | 
Create Date:2022-07-29 10:56:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:fscrypt_generate_iv
函数原型:void fscrypt_generate_iv(union fscrypt_iv *iv, u64 lblk_num, const struct fscrypt_info *ci)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| union fscrypt_iv * | iv | |
| u64 | lblk_num | |
| const struct fscrypt_info * | ci | 
| 81 | WARN_ON_ONCE((u32)lblk_num != lblk_num) | 
| 83 | 否则如果flags按位与FSCRYPT_POLICY_FLAG_DIRECT_KEY则 | 
| 名称 | 描述 | 
|---|---|
| fscrypt_crypt_block | Encrypt or decrypt a single filesystem block of file contents | 
| fname_encrypt | 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 | 
| fname_decrypt | ame_decrypt() - decrypt a filename* The caller must have allocated sufficient memory for the @oname string.* Return: 0 on success, -errno on failure | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |