函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rypto_kpp_set_secret() - Invoke kpp operation* Function invokes the specific kpp operation for a given alg.*@tfm: tfm handle*@buffer: Buffer holding the packet representation of the private* key. The structure of the packet key depends on the particular

函数原型:static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm, const void *buffer, unsigned int len)

返回类型:int

参数:

类型参数名称
struct crypto_kpp *tfm
const void *buffer
unsigned intlen
284  alg等于crypto_kpp_alg(tfm)
285  calg等于__crt_alg
288  crypto_stats_get(calg)
289  ret等于set_secret(tfm, buffer, len)
290  crypto_stats_kpp_set_secret(calg, ret)
291  返回:ret
调用者
名称描述
__keyctl_dh_compute