函数逻辑报告 |
Source Code:security\integrity\ima\ima_template_lib.c |
Create Date:2022-07-27 22:05:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ima_eventdigest_init_common
函数原型:static int ima_eventdigest_init_common(const u8 *digest, unsigned int digestsize, u8 hash_algo, struct ima_field_data *field_data)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const u8 * | digest | |
unsigned int | digestsize | |
u8 | hash_algo | |
struct ima_field_data * | field_data |
240 | fmt等于DATA_FMT_DIGEST |
241 | offset等于0 |
243 | 如果hash_algo小于HASH_ALGO__LAST则 |
248 | offset加等于2 |
261 | 返回:ima_write_template_field_data(buffer, offset + digestsize, fmt, field_data) |
名称 | 描述 |
---|---|
ima_eventdigest_init | This function writes the digest of an event (with size limit). |
ima_eventdigest_ng_init | This function writes the digest of an event (without size limit). |
ima_eventdigest_modsig_init | This function writes the digest of the file which is expected to match the* digest contained in the file's appended signature. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |