函数逻辑报告 |
Source Code:security\integrity\ima\ima_modsig.c |
Create Date:2022-07-27 22:07:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ma_collect_modsig - Calculate the file hash without the appended signature.* Since the modsig is part of the file contents, the hash used in its signature* isn't the same one ordinarily calculated by IMA. Therefore PKCS7 code
函数原型:void ima_collect_modsig(struct modsig *modsig, const void *buf, loff_t size)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct modsig * | modsig | |
const void * | buf | |
loff_t | size |
127 | rc等于pkcs7_supply_detached_data(pkcs7_msg, buf, size) |
128 | 如果rc则返回 |
132 | rc等于pkcs7_get_digest(pkcs7_msg, & This digest will go in the 'd-modsig' field of the IMA template. , & digest_size, & hash_algo) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |