| Function report | 
| Source Code: security\keys\trusted-keys\trusted_tpm1.c | Create Date:2022-07-28 18:29:50 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:TSS_sha1
Proto:static int TSS_sha1(const unsigned char *data, unsigned int datalen, unsigned char *digest)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const unsigned char * | data | |
| unsigned int | datalen | |
| unsigned char * | digest | 
| 64 | sdesc = init_sdesc(hashalg) | 
| 72 | Return ret | 
| Name | Describe | 
|---|---|
| tpm_seal | Have the TPM seal(encrypt) the trusted key, possibly based on* Platform Configuration Registers (PCRs). AUTH1 for sealing key. | 
| 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 |