函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:crypto_kpp_reqtfm

函数原型:static inline struct crypto_kpp *crypto_kpp_reqtfm(struct kpp_request *req)

返回类型:struct crypto_kpp

参数:

类型参数名称
struct kpp_request *req
140  返回:__crypto_kpp_tfm(tfm)
调用者
名称描述
crypto_kpp_generate_public_keyrypto_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.
crypto_kpp_compute_shared_secretrypto_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