Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ahash_request_set_crypt() - set data buffers*@req: ahash_request handle to be updated*@src: source scatter/gather list*@result: buffer that is filled with the message digest -- the caller must* ensure that the buffer has sufficient space by, for example,

Proto:static inline void ahash_request_set_crypt(struct ahash_request *req, struct scatterlist *src, u8 *result, unsigned int nbytes)

Type:void

Parameter:

TypeParameterName
struct ahash_request *req
struct scatterlist *src
u8 *result
unsigned intnbytes
663  src = src
664  nbytes = nbytes
665  result = result
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
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
fsverity_hash_buffersverity_hash_buffer() - hash some data*@alg: the hash algorithm to use*@data: the data to hash*@size: size of data to hash, in bytes*@out: output digest, size 'alg->digest_size' bytes* Hash some data which is located in physically contiguous memory (i