函数逻辑报告 |
Source Code:security\keys\encrypted-keys\encrypted.c |
Create Date:2022-07-27 20:06:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:valid_ecryptfs_desc - verify the description of a new/loaded encrypted key* The description of a encrypted key with format 'ecryptfs' must contain* exactly 16 hexadecimal characters.
函数原型:static int valid_ecryptfs_desc(const char *ecryptfs_desc)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | ecryptfs_desc |
| 109 | 打印错误信息("encrypted_key: key description must be %d hexadecimal characters long\n", KEY_ECRYPTFS_DESC_LEN) |
| 111 | 返回:负EINVAL |
| 114 | 以i小于KEY_ECRYPTFS_DESC_LEN循环 |
| 115 | 如果非是十六进制数字则 |
| 122 | 返回:0 |
| 名称 | 描述 |
|---|---|
| encrypted_init | rypted_init - initialize an encrypted key* For a new key, use a random number for both the iv and data* itself. For an old key, decrypt the hex encoded data. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |