函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:crypto_kpp_alg

函数原型:static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm)

返回类型:struct kpp_alg

参数:

类型参数名称
struct crypto_kpp *tfm
124  返回:__crypto_kpp_alg(__crt_alg)
调用者
名称描述
crypto_kpp_reqsize
crypto_kpp_set_secretrypto_kpp_set_secret() - Invoke kpp operation* Function invokes the specific kpp operation for a given alg.*@tfm: tfm handle*@buffer: Buffer holding the packet representation of the private* key. The structure of the packet key depends on the particular
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
crypto_kpp_maxsizerypto_kpp_maxsize() - Get len for output buffer* Function returns the output buffer size required for a given key