Searched refs:TPM_HEADER_SIZE (Results 1 – 5 of 5) sorted by relevance
/external/tpm2-tss/src/tss2-tcti/ |
D | tcti-device.c | 168 uint8_t header[TPM_HEADER_SIZE]; in tcti_device_receive() 215 TEMP_RETRY (size, read (tcti_dev->fd, header, TPM_HEADER_SIZE)); in tcti_device_receive() 216 if (size < 0 || size != TPM_HEADER_SIZE) { in tcti_device_receive() 223 rc = Tss2_MU_UINT32_Unmarshal(header, TPM_HEADER_SIZE, in tcti_device_receive() 229 if (partial_size < TPM_HEADER_SIZE) { in tcti_device_receive() 238 memcpy(&tcti_common->header, header, TPM_HEADER_SIZE); in tcti_device_receive() 246 if (*response_size < TPM_HEADER_SIZE) { 257 if (tcti_common->partial == true && *response_size == TPM_HEADER_SIZE) { 258 memcpy(response_buffer, &tcti_common->header, TPM_HEADER_SIZE); 282 memcpy(response_buffer, &tcti_common->header, TPM_HEADER_SIZE); [all …]
|
D | tcti-common.c | 111 TPM_HEADER_SIZE, in header_unmarshal() 119 TPM_HEADER_SIZE, in header_unmarshal() 127 TPM_HEADER_SIZE, in header_unmarshal() 147 TPM_HEADER_SIZE, in header_marshal() 155 TPM_HEADER_SIZE, in header_marshal() 163 TPM_HEADER_SIZE, in header_marshal()
|
D | tcti-common.h | 16 #define TPM_HEADER_SIZE (sizeof (TPM2_ST) + sizeof (UINT32) + sizeof (UINT32)) macro
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/VCOM/VCOM-TPM/ |
D | stdafx.h | 22 #define TPM_HEADER_SIZE (10)
|
/external/tpm2-tss/test/unit/ |
D | tcti-mssim.c | 410 uint8_t buf [TPM_HEADER_SIZE] = { 0 }; in tcti_mssim_receive_eof_first_read_test()
|