函数逻辑报告 |
Source Code:security\keys\trusted-keys\trusted_tpm1.c |
Create Date:2022-07-27 20:04:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:TSS_rawhmac
函数原型:static int TSS_rawhmac(unsigned char *digest, const unsigned char *key, unsigned int keylen, ...)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned char * | digest | |
const unsigned char * | key | |
unsigned int | keylen |
84 | sdesc等于init_sdesc(hmacalg) |
85 | 如果是错误则 |
98 | 循环 |
103 | 如果(data == NULL)则 |
114 | out : |
116 | 返回:ret |
名称 | 描述 |
---|---|
TSS_authhmac | alculate authorization info fields to send to TPM |
TSS_checkhmac1 | verify the AUTH1_COMMAND (Seal) result from TPM |
TSS_checkhmac2 | verify the AUTH2_COMMAND (unseal) result from TPM |
osap | Create an object specific authorisation protocol (OSAP) session |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |