Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\crypto\hash.h Create Date:2022-07-28 05:46:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rypto_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

Proto:static inline int crypto_ahash_init(struct ahash_request *req)

Type:int

Parameter:

TypeParameterName
struct ahash_request *req
507  tfm = 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
509  If crypto_ahash_get_flags(tfm) & Transform masks and values (for crt_flags). Then Return -ENOKEY
512  Return init(req)
Caller
NameDescribe
ima_calc_file_hash_atfm
calc_buffer_ahash_atfm
fsverity_prepare_hash_statesverity_prepare_hash_state() - precompute the initial hash state*@alg: hash algorithm*@salt: a salt which is to be prepended to all data to be hashed*@salt_size: salt size in bytes, possibly 0* Return: NULL if the salt is empty, otherwise the kmalloc()'ed