函数逻辑报告

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_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,

函数原型:static inline void ahash_request_set_crypt(struct ahash_request *req, struct scatterlist *src, u8 *result, unsigned int nbytes)

返回类型:void

参数:

类型参数名称
struct ahash_request *req
struct scatterlist *src
u8 *result
unsigned intnbytes
663  src等于src
664  nbytes等于nbytes
665  result等于result
调用者
名称描述
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