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:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This function writes the digest of an event (without size limit).

Proto:int ima_eventdigest_ng_init(struct ima_event_data *event_data, struct ima_field_data *field_data)

Type:int

Parameter:

TypeParameterName
struct ima_event_data *event_data
struct ima_field_data *field_data
317  cur_digest = NULL , hash_algo = HASH_ALGO_SHA1
318  cur_digestsize = 0
320  If violation Then Go to out
323  cur_digest = digest
324  cur_digestsize = length
326  hash_algo = algo
327  out :
328  Return ima_eventdigest_init_common(cur_digest, cur_digestsize, hash_algo, field_data)