函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ima_calc_field_array_hash

函数原型:int ima_calc_field_array_hash(struct ima_field_data *field_data, struct ima_template_desc *desc, int num_fields, struct ima_digest_data *hash)

返回类型:int

参数:

类型参数名称
struct ima_field_data *field_data
struct ima_template_desc *desc
intnum_fields
struct ima_digest_data *hash
519  tfm等于ima_alloc_tfm(algo)
520  如果是错误则返回:错误
523  rc等于Calculate the hash of template data
526  ima_free_tfm(tfm)
528  返回:rc
调用者
名称描述
ima_store_templatema_store_template - store ima template measurements* Calculate the hash of a template entry, add the template entry* to an ordered list of measurement entries maintained inside the kernel,* and also update the aggregate integrity value (maintained inside