Searched refs:TPM_HEADER_SIZE (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/drivers/char/tpm/st33zp24/ |
D | st33zp24.c | 404 if (len < TPM_HEADER_SIZE) in st33zp24_send() 493 if (count < TPM_HEADER_SIZE) { in st33zp24_recv() 498 size = recv_data(chip, buf, TPM_HEADER_SIZE); in st33zp24_recv() 499 if (size < TPM_HEADER_SIZE) { in st33zp24_recv() 510 size += recv_data(chip, &buf[TPM_HEADER_SIZE], in st33zp24_recv() 511 expected - TPM_HEADER_SIZE); in st33zp24_recv()
|
/linux-4.4.14/drivers/char/tpm/ |
D | tpm_i2c_infineon.c | 441 if (count < TPM_HEADER_SIZE) { in tpm_tis_i2c_recv() 447 size = recv_data(chip, buf, TPM_HEADER_SIZE); in tpm_tis_i2c_recv() 448 if (size < TPM_HEADER_SIZE) { in tpm_tis_i2c_recv() 459 size += recv_data(chip, &buf[TPM_HEADER_SIZE], in tpm_tis_i2c_recv() 460 expected - TPM_HEADER_SIZE); in tpm_tis_i2c_recv()
|
D | tpm2-cmd.c | 479 blob_len = be32_to_cpup((__be32 *) &buf.data[TPM_HEADER_SIZE]); in tpm2_seal_trusted() 485 memcpy(payload->blob, &buf.data[TPM_HEADER_SIZE + 4], blob_len); in tpm2_seal_trusted() 538 (__be32 *) &buf.data[TPM_HEADER_SIZE]); in tpm2_load() 598 (__be16 *) &buf.data[TPM_HEADER_SIZE + 4]); in tpm2_unseal() 599 data = &buf.data[TPM_HEADER_SIZE + 6]; in tpm2_unseal() 891 else if (rc < TPM_HEADER_SIZE) in tpm2_probe()
|
D | tpm_i2c_nuvoton.c | 43 #define TPM_HEADER_SIZE 10 macro 272 if (count < TPM_HEADER_SIZE) { in i2c_nuvoton_recv() 302 if (size < TPM_HEADER_SIZE) { in i2c_nuvoton_recv()
|
D | tpm_tis.c | 288 if (count < TPM_HEADER_SIZE) { in tpm_tis_recv() 295 recv_data(chip, buf, TPM_HEADER_SIZE)) < TPM_HEADER_SIZE) { in tpm_tis_recv() 307 recv_data(chip, &buf[TPM_HEADER_SIZE], in tpm_tis_recv() 308 expected - TPM_HEADER_SIZE)) < expected) { in tpm_tis_recv()
|
D | tpm.h | 66 #define TPM_HEADER_SIZE 10 macro
|
D | tpm-interface.c | 410 else if (len < TPM_HEADER_SIZE) in tpm_transmit_cmd() 806 if (rc < TPM_HEADER_SIZE) in tpm_do_selftest()
|