Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static inline int crypto_ahash_import(struct ahash_request *req, const void *in)

Type:int

Parameter:

TypeParameterName
struct ahash_request *req
const void *in
486  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
488  If crypto_ahash_get_flags(tfm) & Transform masks and values (for crt_flags). Then Return -ENOKEY
491  Return import(req, in)
Caller
NameDescribe
fsverity_hash_pagesverity_hash_page() - hash a single data or hash page*@params: the Merkle tree's parameters*@inode: inode for which the hashing is being done*@req: preallocated hash request*@page: the page to hash*@out: output digest, size 'params->digest_size' bytes