Searched refs:TPM_HEADER_SIZE (Results 1 – 7 of 7) sorted by relevance
/drivers/char/tpm/st33zp24/ |
D | st33zp24.c | 379 if (len < TPM_HEADER_SIZE) in st33zp24_send() 466 if (count < TPM_HEADER_SIZE) { in st33zp24_recv() 471 size = recv_data(chip, buf, TPM_HEADER_SIZE); in st33zp24_recv() 472 if (size < TPM_HEADER_SIZE) { in st33zp24_recv() 478 if (expected > count || expected < TPM_HEADER_SIZE) { in st33zp24_recv() 483 size += recv_data(chip, &buf[TPM_HEADER_SIZE], in st33zp24_recv() 484 expected - TPM_HEADER_SIZE); in st33zp24_recv()
|
/drivers/char/tpm/ |
D | tpm_i2c_infineon.c | 443 if (count < TPM_HEADER_SIZE) { in tpm_tis_i2c_recv() 449 size = recv_data(chip, buf, TPM_HEADER_SIZE); in tpm_tis_i2c_recv() 450 if (size < TPM_HEADER_SIZE) { in tpm_tis_i2c_recv() 456 if (((size_t) expected > count) || (expected < TPM_HEADER_SIZE)) { in tpm_tis_i2c_recv() 461 size += recv_data(chip, &buf[TPM_HEADER_SIZE], in tpm_tis_i2c_recv() 462 expected - TPM_HEADER_SIZE); in tpm_tis_i2c_recv()
|
D | tpm_tis_core.c | 214 if (count < TPM_HEADER_SIZE) { in tpm_tis_recv() 219 size = recv_data(chip, buf, TPM_HEADER_SIZE); in tpm_tis_recv() 221 if (size < TPM_HEADER_SIZE) { in tpm_tis_recv() 227 if (expected > count || expected < TPM_HEADER_SIZE) { in tpm_tis_recv() 232 size += recv_data(chip, &buf[TPM_HEADER_SIZE], in tpm_tis_recv() 233 expected - TPM_HEADER_SIZE); in tpm_tis_recv()
|
D | tpm2-cmd.c | 519 blob_len = be32_to_cpup((__be32 *) &buf.data[TPM_HEADER_SIZE]); in tpm2_seal_trusted() 525 memcpy(payload->blob, &buf.data[TPM_HEADER_SIZE + 4], blob_len); in tpm2_seal_trusted() 590 (__be32 *) &buf.data[TPM_HEADER_SIZE]); in tpm2_load_cmd() 670 (__be16 *) &buf.data[TPM_HEADER_SIZE + 4]); in tpm2_unseal_cmd() 676 data = &buf.data[TPM_HEADER_SIZE + 6]; in tpm2_unseal_cmd()
|
D | tpm_i2c_nuvoton.c | 44 #define TPM_HEADER_SIZE 10 macro 290 if (count < TPM_HEADER_SIZE) { in i2c_nuvoton_recv() 320 if (size < TPM_HEADER_SIZE) { in i2c_nuvoton_recv()
|
D | tpm-interface.c | 340 if (bufsiz < TPM_HEADER_SIZE) in tpm_transmit() 417 else if (len < TPM_HEADER_SIZE) in tpm_transmit_cmd()
|
D | tpm.h | 70 #define TPM_HEADER_SIZE 10 macro
|