Searched refs:TPM_HEADER_SIZE (Results 1 – 9 of 9) sorted by relevance
/u-boot/drivers/tpm/ |
A D | tpm_tis_st33zp24_i2c.c | 313 if (count < TPM_HEADER_SIZE) { in st33zp24_i2c_recv() 318 size = st33zp24_i2c_recv_data(dev, buf, TPM_HEADER_SIZE); in st33zp24_i2c_recv() 319 if (size < TPM_HEADER_SIZE) { in st33zp24_i2c_recv() 325 if (expected > count || expected < TPM_HEADER_SIZE) { in st33zp24_i2c_recv() 330 size += st33zp24_i2c_recv_data(dev, &buf[TPM_HEADER_SIZE], in st33zp24_i2c_recv() 331 expected - TPM_HEADER_SIZE); in st33zp24_i2c_recv() 361 if (len < TPM_HEADER_SIZE) in st33zp24_i2c_send()
|
A D | tpm_tis_st33zp24_spi.c | 441 if (count < TPM_HEADER_SIZE) { in st33zp24_spi_recv() 446 size = st33zp24_spi_recv_data(dev, buf, TPM_HEADER_SIZE); in st33zp24_spi_recv() 447 if (size < TPM_HEADER_SIZE) { in st33zp24_spi_recv() 453 if (expected > count || expected < TPM_HEADER_SIZE) { in st33zp24_spi_recv() 458 size += st33zp24_spi_recv_data(dev, &buf[TPM_HEADER_SIZE], in st33zp24_spi_recv() 459 expected - TPM_HEADER_SIZE); in st33zp24_spi_recv() 489 if (len < TPM_HEADER_SIZE) in st33zp24_spi_send()
|
A D | tpm_tis_infineon.c | 390 size = tpm_tis_i2c_recv_data(dev, buf, TPM_HEADER_SIZE); in tpm_tis_i2c_recv() 391 if (size < TPM_HEADER_SIZE) { in tpm_tis_i2c_recv() 397 if ((size_t)expected > count || (size_t)expected < TPM_HEADER_SIZE) { in tpm_tis_i2c_recv() 403 size += tpm_tis_i2c_recv_data(dev, &buf[TPM_HEADER_SIZE], in tpm_tis_i2c_recv() 404 expected - TPM_HEADER_SIZE); in tpm_tis_i2c_recv()
|
A D | tpm2_tis_spi.c | 373 if (count < TPM_HEADER_SIZE) { in tpm_tis_spi_recv() 378 size = tpm_tis_spi_recv_data(dev, buf, TPM_HEADER_SIZE); in tpm_tis_spi_recv() 379 if (size < TPM_HEADER_SIZE) { in tpm_tis_spi_recv() 390 size += tpm_tis_spi_recv_data(dev, &buf[TPM_HEADER_SIZE], in tpm_tis_spi_recv() 391 expected - TPM_HEADER_SIZE); in tpm_tis_spi_recv()
|
A D | tpm2_ftpm_tee.c | 103 if (resp_len < TPM_HEADER_SIZE) { in ftpm_tee_transceive()
|
A D | tpm_tis_sandbox.c | 222 *recv_len = TPM_HEADER_SIZE + 4 + in sandbox_tpm_xfer()
|
A D | cr50_i2c.c | 313 if (buf_len < TPM_HEADER_SIZE) in cr50_i2c_recv()
|
/u-boot/include/ |
A D | tpm-common.h | 28 #define TPM_HEADER_SIZE 10 macro
|
/u-boot/lib/ |
A D | tpm-v1.c | 428 const size_t data_size_offset = TPM_HEADER_SIZE; in tpm_get_permanent_flags() 429 const size_t data_offset = TPM_HEADER_SIZE + sizeof(u32); in tpm_get_permanent_flags()
|
Completed in 14 milliseconds