函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_template_lib.c Create Date:2022-07-27 22:05:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This function writes the digest of an event (without size limit).

函数原型:int ima_eventdigest_ng_init(struct ima_event_data *event_data, struct ima_field_data *field_data)

返回类型:int

参数:

类型参数名称
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  如果violation则转到:out
323  cur_digest等于digest
324  cur_digestsize等于length
326  hash_algo等于algo
327  out :
328  返回:ima_eventdigest_init_common(cur_digest, cur_digestsize, hash_algo, field_data)