函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\dh.c Create Date:2022-07-27 20:01:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:keyctl_dh_compute

函数原型:long keyctl_dh_compute(struct keyctl_dh_params __user *params, char __user *buffer, size_t buflen, struct keyctl_kdf_params __user *kdf)

返回类型:long

参数:

类型参数名称
struct keyctl_dh_params __user *params
char __user *buffer
size_tbuflen
struct keyctl_kdf_params __user *kdf
416  如果非kdf则返回:__keyctl_dh_compute(params, buffer, buflen, NULL)
419  如果copy_from_user( & kdfcopy, kdf, kdfcopy的长度)不等于0则返回:负EFAULT
422  返回:__keyctl_dh_compute(params, buffer, buflen, & kdfcopy)