Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\crypto\kpp.h Create Date:2022-07-28 18:26:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm, const void *buffer, unsigned int len)

Type:int

Parameter:

TypeParameterName
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  Return ret
Caller
NameDescribe
__keyctl_dh_compute