Function report |
Source Code:security\keys\trusted-keys\trusted_tpm1.c |
Create Date:2022-07-28 18:30:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:For key specific tpm requests, we will generate and send our* own TPM command packets using the drivers send function.
Proto:int trusted_tpm_send(unsigned char *cmd, size_t buflen)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned char * | cmd | |
| size_t | buflen |
| 371 | dump_tpm_buf(cmd) |
| 373 | dump_tpm_buf(cmd) |
| 377 | Return rc |
| Name | Describe |
|---|---|
| osap | Create an object specific authorisation protocol (OSAP) session |
| oiap | Create an object independent authorisation protocol (oiap) session |
| tpm_seal | Have the TPM seal(encrypt) the trusted key, possibly based on* Platform Configuration Registers (PCRs). AUTH1 for sealing key. |
| tpm_unseal | se the AUTH2_COMMAND form of unseal, to authorize both key and blob |
| 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 |