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:ima_calc_boot_aggregate

Proto:int __init ima_calc_boot_aggregate(struct ima_digest_data *hash)

Type:int

Parameter:

TypeParameterName
struct ima_digest_data *hash
690  tfm = ima_alloc_tfm(algo)
691  If IS_ERR(tfm) Then Return PTR_ERR(tfm)
694  length = rypto_shash_digestsize() - obtain message digest size*@tfm: cipher handle* The size for the message digest created by the message digest cipher* referenced with the cipher handle is returned.* Return: digest size of cipher
695  rc = Calculate the boot aggregate hash
697  ima_free_tfm(tfm)
699  Return rc