Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ima_template_hash_algo_allowed

Proto:static bool ima_template_hash_algo_allowed(u8 algo)

Type:bool

Parameter:

TypeParameterName
u8algo
18  If algo == HASH_ALGO_SHA1 || algo == HASH_ALGO_MD5 Then Return true
21  Return false
Caller
NameDescribe
ima_eventdigest_initThis function writes the digest of an event (with size limit).