函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rypto_ahash_reqtfm() - obtain cipher handle from request*@req: asynchronous request handle that contains the reference to the ahash* cipher handle* Return the ahash cipher handle that is registered with the asynchronous* request handle ahash_request

函数原型:static inline struct crypto_ahash *crypto_ahash_reqtfm(struct ahash_request *req)

返回类型:struct crypto_ahash

参数:

类型参数名称
struct ahash_request *req
381  返回:DOC: Asynchronous Message Digest API* The asynchronous message digest API is used with the ciphers of type* CRYPTO_ALG_TYPE_AHASH (listed as type "ahash" in /proc/crypto)* The asynchronous cipher operation discussion provided for the
调用者
名称描述
crypto_ahash_exportrypto_ahash_export() - extract current message digest state*@req: reference to the ahash_request handle whose state is exported*@out: output buffer of sufficient size that can hold the hash state* This function exports the hash state of the ahash_request
crypto_ahash_importrypto_ahash_import() - import message digest state*@req: reference to ahash_request handle the state is imported into*@in: buffer holding the state* This function imports the hash state into the ahash_request handle from the* input buffer
crypto_ahash_initrypto_ahash_init() - (re)initialize message digest handle*@req: ahash_request handle that already is initialized with all necessary* data using the ahash_request_* API functions* The call (re-)initializes the message digest referenced by the ahash_request
crypto_ahash_updaterypto_ahash_update() - add data to message digest for processing*@req: ahash_request handle that was previously initialized with the* crypto_ahash_init call
ahash_request_zero