函数逻辑报告 |
Source Code:security\keys\keyctl_pkey.c |
Create Date:2022-07-27 20:02:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Encrypt/decrypt/sign* Encrypt data, decrypt data or sign data using a public key
函数原型:long keyctl_pkey_e_d_s(int op, const struct keyctl_pkey_params __user *_params, const char __user *_info, const void __user *_in, void __user *_out)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
int | op | |
const struct keyctl_pkey_params __user * | _params | |
const char __user * | _info | |
const void __user * | _in | |
void __user * | _out |
216 | ret等于Get parameters from userspace. Callers must always call the free function* on params, even if an error is returned. |
217 | 如果ret小于0则转到:error_params |
220 | ret等于负EOPNOTSUPP |
221 | 如果非asym_eds_op则转到:error_params |
226 | op等于kernel_pkey_encrypt |
227 | 退出 |
229 | op等于kernel_pkey_decrypt |
230 | 退出 |
231 | 当:op恒等于Create a public key signature |
232 | op等于kernel_pkey_sign |
233 | 退出 |
234 | 默认 |
235 | BUG() |
239 | 如果是错误则 |
241 | 转到:error_params |
249 | ret等于asym_eds_op( & params, in, out) |
256 | error_out : |
257 | 释放内存 |
258 | error_in : |
259 | 释放内存 |
260 | error_params : |
261 | keyctl_pkey_params_free( & params) |
262 | 返回:ret |
名称 | 描述 |
---|---|
COMPAT_SYSCALL_DEFINE5 | The key control system call, 32-bit compatibility version for 64-bit archs |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |