/openbmc/linux/drivers/char/tpm/ |
H A D | tpm2-cmd.c | 186 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_PCR_READ); in tpm2_pcr_read() 307 tpm_buf_reset(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_RANDOM); in tpm2_get_random() 353 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_FLUSH_CONTEXT); in tpm2_flush_context() 393 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_tpm_pt() 434 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SHUTDOWN); in tpm2_shutdown() 462 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SELF_TEST); in tpm2_do_selftest() 498 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_probe() 508 if (be16_to_cpu(out->tag) == TPM2_ST_NO_SESSIONS) in tpm2_probe() 563 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_pcr_allocation() 652 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_cc_attrs_tbl() [all …]
|
H A D | tpm2-space.c | 79 rc = tpm_buf_init(&tbuf, TPM2_ST_NO_SESSIONS, TPM2_CC_CONTEXT_LOAD); in tpm2_load_context() 129 rc = tpm_buf_init(&tbuf, TPM2_ST_NO_SESSIONS, TPM2_CC_CONTEXT_SAVE); in tpm2_save_context()
|
H A D | tpm-dev-common.c | 36 header->tag = cpu_to_be16(TPM2_ST_NO_SESSIONS); in tpm_dev_transmit()
|
/openbmc/linux/tools/testing/selftests/tpm2/ |
H A D | tpm2.py | 12 TPM2_ST_NO_SESSIONS = 0x8001 variable 414 TPM2_ST_NO_SESSIONS, 460 TPM2_ST_NO_SESSIONS, 502 TPM2_ST_NO_SESSIONS, 517 TPM2_ST_NO_SESSIONS, 527 TPM2_ST_NO_SESSIONS, 537 TPM2_ST_NO_SESSIONS, 694 TPM2_ST_NO_SESSIONS, 727 TPM2_ST_NO_SESSIONS,
|
H A D | tpm2_tests.py | 163 tpm2.TPM2_ST_NO_SESSIONS, 179 tpm2.TPM2_ST_NO_SESSIONS, 196 tpm2.TPM2_ST_NO_SESSIONS, 219 tpm2.TPM2_ST_NO_SESSIONS, 294 cmd = struct.pack(fmt, tpm2.TPM2_ST_NO_SESSIONS, struct.calcsize(fmt),
|
/openbmc/qemu/backends/tpm/ |
H A D | tpm_util.c | 190 .tag = cpu_to_be16(TPM2_ST_NO_SESSIONS), in tpm_util_test_tpmdev() 201 if (!ret && return_tag == TPM2_ST_NO_SESSIONS) { in tpm_util_test_tpmdev() 278 .tag = cpu_to_be16(TPM2_ST_NO_SESSIONS), in tpm_util_get_buffer_size()
|
H A D | tpm_int.h | 65 #define TPM2_ST_NO_SESSIONS 0x8001 macro
|
/openbmc/qemu/tests/qtest/ |
H A D | tpm-emu.h | 17 #define TPM2_ST_NO_SESSIONS 0x8001 macro
|
H A D | tpm-emu.c | 70 s->tpm_msg->tag = cpu_to_be16(TPM2_ST_NO_SESSIONS); in tpm_emu_tpm_thread()
|
/openbmc/u-boot/lib/ |
H A D | tpm-v2.c | 706 tpm_u16(TPM2_ST_NO_SESSIONS), in tpm2_startup() 727 tpm_u16(TPM2_ST_NO_SESSIONS), in tpm2_self_test() 986 tpm_u16(TPM2_ST_NO_SESSIONS), /* TAG */ in tpm2_pcr_read() 1030 tpm_u16(TPM2_ST_NO_SESSIONS), /* TAG */ in tpm2_get_capability() 1417 tpm_u16(TPM2_ST_NO_SESSIONS), in tpm2_get_random() 1527 tpm_u16(TPM2_ST_NO_SESSIONS), /* TAG */ in tpm2_report_state() 1552 tpm_u16(TPM2_ST_NO_SESSIONS), /* TAG */ in tpm2_enable_nvcommits()
|
/openbmc/linux/include/linux/ |
H A D | tpm.h | 195 TPM2_ST_NO_SESSIONS = 0x8001, enumerator
|
/openbmc/u-boot/include/ |
H A D | tpm-v2.h | 270 TPM2_ST_NO_SESSIONS = 0x8001, enumerator
|
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm2_tis_sandbox.c | 78 if (tag != TPM2_ST_NO_SESSIONS) { in sandbox_tpm2_check_session()
|