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_shash

Proto:static int calc_buffer_shash(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
624  tfm = ima_alloc_tfm(algo)
625  If IS_ERR(tfm) Then Return PTR_ERR(tfm)
628  rc = calc_buffer_shash_tfm(buf, len, hash, tfm)
630  ima_free_tfm(tfm)
631  Return rc
Caller
NameDescribe
ima_calc_buffer_hash