函数逻辑报告 |
Source Code:security\keys\encrypted-keys\encrypted.c |
Create Date:2022-07-27 20:08:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rypted_read - format and copy the encrypted data to userspace* The resulting datablob format is:* <master-key name> <decrypted data length> <encrypted iv> <encrypted data>* On success, return to userspace the encrypted key datablob size.
函数原型:static long encrypted_read(const struct key *key, char __user *buffer, size_t buflen)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct key * | key | |
char __user * | buffer | |
size_t | buflen |
931 | 如果非buffer或buflen小于asciiblob_len则返回:asciiblob_len |
934 | mkey等于request_master_key(epayload, & master_key, & master_keylen) |
951 | 如果非ascii_buf则 |
960 | 如果copy_to_user(buffer, ascii_buf, asciiblob_len)不等于0则ret等于负EFAULT |
964 | 返回:asciiblob_len |
965 | out : |
969 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |