Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_crypto.c Create Date:2022-07-28 19:58:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:calc_buffer_ahash

Proto:static int calc_buffer_ahash(const void *buf, loff_t len, struct ima_digest_data *hash)

Type:int

Parameter:

TypeParameterName
const void *buf
loff_tlen
struct ima_digest_data *hash
577  tfm = ima_alloc_atfm(algo)
578  If IS_ERR(tfm) Then Return PTR_ERR(tfm)
581  rc = calc_buffer_ahash_atfm(buf, len, hash, tfm)
583  ima_free_atfm(tfm)
585  Return rc
Caller
NameDescribe
ima_calc_buffer_hash