Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rypto_kpp_compute_shared_secret() - Invoke kpp operation* Function invokes the specific kpp operation for computing the shared secret* for a given kpp algorithm.*@req: kpp key request* Return: zero on success; error code in case of error

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

Type:int

Parameter:

TypeParameterName
struct kpp_request *req
332  tfm = crypto_kpp_reqtfm(req)
333  alg = crypto_kpp_alg(tfm)
334  calg = __crt_alg
337  crypto_stats_get(calg)
338  ret = compute_shared_secret(req)
339  crypto_stats_kpp_compute_shared_secret(calg, ret)
340  Return ret