函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:static inline int crypto_kpp_compute_shared_secret(struct kpp_request *req)

返回类型:int

参数:

类型参数名称
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  返回:ret