函数逻辑报告 |
Source Code:fs\crypto\keysetup_v1.c |
Create Date:2022-07-29 10:57:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:v1 key derivation function
函数原型:static int derive_key_aes(const u8 *master_key, const u8 nonce[16], u8 *derived_key, unsigned int derived_keysize)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const u8 * | master_key | |
const u8 | nonce | |
u8 * | derived_key | |
unsigned int | derived_keysize |
51 | res等于0 |
52 | struct skcipher_request * req = NULL |
57 | 如果是错误则 |
63 | 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 |
64 | 如果非req则 |
75 | 初始化散列表项目 |
76 | 初始化散列表项目 |
80 | out : |
83 | 返回:res |
名称 | 描述 |
---|---|
setup_v1_file_key_derived | v1 policy, !DIRECT_KEY: derive the file's encryption key |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |