函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

返回类型:int

参数:

类型参数名称
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  返回:ret
调用者
名称描述
__keyctl_dh_compute