函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ahash_request_set_tfm() - update cipher handle reference in request*@req: request handle to be modified*@tfm: cipher handle that shall be added to the request handle* Allow the caller to replace the existing ahash handle in the request

函数原型:static inline void ahash_request_set_tfm(struct ahash_request *req, struct crypto_ahash *tfm)

返回类型:void

参数:

类型参数名称
struct ahash_request *req
struct crypto_ahash *tfm
561  tfm等于crypto_ahash_tfm(tfm)
调用者
名称描述
ahash_request_allocahash_request_alloc() - allocate request data structure*@tfm: cipher handle to be registered with the request*@gfp: memory allocation flag that is handed to kmalloc by the API call.* Allocate the request data structure that must be used with the ahash