Home
last modified time | relevance | path

Searched refs:TPM_HEADER_SIZE (Results 1 – 9 of 9) sorted by relevance

/u-boot/drivers/tpm/
A Dtpm_tis_st33zp24_i2c.c313 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 Dtpm_tis_st33zp24_spi.c441 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 Dtpm_tis_infineon.c390 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 Dtpm2_tis_spi.c373 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 Dtpm2_ftpm_tee.c103 if (resp_len < TPM_HEADER_SIZE) { in ftpm_tee_transceive()
A Dtpm_tis_sandbox.c222 *recv_len = TPM_HEADER_SIZE + 4 + in sandbox_tpm_xfer()
A Dcr50_i2c.c313 if (buf_len < TPM_HEADER_SIZE) in cr50_i2c_recv()
/u-boot/include/
A Dtpm-common.h28 #define TPM_HEADER_SIZE 10 macro
/u-boot/lib/
A Dtpm-v1.c428 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