Function report |
Source Code:security\keys\compat_dh.c |
Create Date:2022-07-28 18:25:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Perform the DH computation or DH based key derivation.* If successful, 0 will be returned.
Proto:long compat_keyctl_dh_compute(struct keyctl_dh_params __user *params, char __user *buffer, size_t buflen, struct compat_keyctl_kdf_params __user *kdf)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct keyctl_dh_params __user * | params | |
char __user * | buffer | |
size_t | buflen | |
struct compat_keyctl_kdf_params __user * | kdf |
23 | If Not kdf Then Return __keyctl_dh_compute(params, buffer, buflen, NULL) |
26 | If copy_from_user( & compat_kdfcopy, kdf, size of compat_kdfcopy ) != 0 Then Return -EFAULT |
31 | otherinfolen = otherinfolen |
35 | Return __keyctl_dh_compute(params, buffer, buflen, & kdfcopy) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |