Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\dh.c Create Date:2022-07-28 18:27:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:keyctl_dh_compute

Proto:long keyctl_dh_compute(struct keyctl_dh_params __user *params, char __user *buffer, size_t buflen, struct keyctl_kdf_params __user *kdf)

Type:long

Parameter:

TypeParameterName
struct keyctl_dh_params __user *params
char __user *buffer
size_tbuflen
struct keyctl_kdf_params __user *kdf
416  If Not kdf Then Return __keyctl_dh_compute(params, buffer, buflen, NULL)
419  If copy_from_user( & kdfcopy, kdf, size of kdfcopy ) != 0 Then Return -EFAULT
422  Return __keyctl_dh_compute(params, buffer, buflen, & kdfcopy)