函数逻辑报告

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

函数名称:rypto_ahash_update() - add data to message digest for processing*@req: ahash_request handle that was previously initialized with the* crypto_ahash_init call

函数原型:static inline int crypto_ahash_update(struct ahash_request *req)

返回类型:int

参数:

类型参数名称
struct ahash_request *req
528  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
529  alg等于__crt_alg
530  nbytes等于nbytes
533  crypto_stats_get(alg)
534  ret等于update(req)
535  crypto_stats_ahash_update(nbytes, ret, alg)
536  返回:ret
调用者
名称描述
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