Function report |
Source Code:security\keys\trusted-keys\trusted_tpm1.c |
Create Date:2022-07-28 18:30:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Create an object independent authorisation protocol (oiap) session
Proto:int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct tpm_buf * | tb | |
uint32_t * | handle | |
unsigned char * | nonce |
437 | tpm_buf_reset(tb, Command TAGS , TPM_ORD_OIAP) |
438 | ret = For key specific tpm requests, we will generate and send our* own TPM command packets using the drivers send function. |
442 | handle = LOAD32(data, TPM_DATA_OFFSET) |
443 | memcpy(nonce, & data[TPM_DATA_OFFSET + sizeof(uint32_t)], TPM_NONCE_SIZE) |
445 | Return 0 |
Name | Describe |
---|---|
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 |