Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rypto_kpp_generate_public_key() - Invoke kpp operation* Function invokes the specific kpp operation for generating the public part* for a given kpp algorithm.* To generate a private key, the caller should use a random number generator.

Proto:static inline int crypto_kpp_generate_public_key(struct kpp_request *req)

Type:int

Parameter:

TypeParameterName
struct kpp_request *req
309  tfm = crypto_kpp_reqtfm(req)
310  alg = crypto_kpp_alg(tfm)
311  calg = __crt_alg
314  crypto_stats_get(calg)
315  ret = generate_public_key(req)
316  crypto_stats_kpp_generate_public_key(calg, ret)
317  Return ret
Caller
NameDescribe
__keyctl_dh_compute