Function report |
Source Code:security\keys\trusted-keys\trusted_tpm1.c |
Create Date:2022-07-28 18:29:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:TSS_rawhmac
Proto:static int TSS_rawhmac(unsigned char *digest, const unsigned char *key, unsigned int keylen, ...)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned char * | digest | |
const unsigned char * | key | |
unsigned int | keylen |
84 | sdesc = init_sdesc(hmacalg) |
98 | cycle |
100 | If dlen == 0 Then Break |
103 | If (data == NULL) Then |
108 | If ret < 0 Then Break |
114 | out : |
116 | Return ret |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |