Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ima_init_digests

Proto:int __init ima_init_digests(void)

Type:int

Parameter:Nothing

222  If Not ima_tpm_chip Then Return 0
225  pre-allocated array of tpm_digest structures to extend a PCR = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc).
227  If Not pre-allocated array of tpm_digest structures to extend a PCR Then Return -ENOMEM
230  When i < nr_allocated_banks cycle alg_id = alg_id
233  Return 0
Caller
NameDescribe
ima_init