函数逻辑报告 |
Source Code:security\keys\encrypted-keys\encrypted.c |
Create Date:2022-07-27 20:07:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:init_skcipher_req
函数原型:static struct skcipher_request *init_skcipher_req(const u8 *key, unsigned int key_len)
返回类型:struct skcipher_request
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const u8 * | key | |
| unsigned int | key_len |
| 397 | 如果是错误则 |
| 398 | 打印错误信息("encrypted_key: failed to load %s transform (%ld)\n", blkcipher_alg, 错误) |
| 400 | 返回:错误指示 |
| 404 | 如果ret小于0则 |
| 407 | 返回:错误号 |
| 410 | 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 |
| 411 | 如果非req则 |
| 412 | 打印错误信息("encrypted_key: failed to allocate request for %s\n", blkcipher_alg) |
| 415 | 返回:错误号 |
| 419 | 返回:req |
| 名称 | 描述 |
|---|---|
| derived_key_encrypt | Before returning data to userspace, encrypt decrypted data. |
| derived_key_decrypt |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |