Home
last modified time | relevance | path

Searched refs:TPM2_ST_NO_SESSIONS (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/char/tpm/
H A Dtpm2-cmd.c186 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 Dtpm2-space.c79 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 Dtpm-dev-common.c36 header->tag = cpu_to_be16(TPM2_ST_NO_SESSIONS); in tpm_dev_transmit()
/openbmc/linux/tools/testing/selftests/tpm2/
H A Dtpm2.py12 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 Dtpm2_tests.py163 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 Dtpm_util.c190 .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 Dtpm_int.h65 #define TPM2_ST_NO_SESSIONS 0x8001 macro
/openbmc/qemu/tests/qtest/
H A Dtpm-emu.h17 #define TPM2_ST_NO_SESSIONS 0x8001 macro
H A Dtpm-emu.c70 s->tpm_msg->tag = cpu_to_be16(TPM2_ST_NO_SESSIONS); in tpm_emu_tpm_thread()
/openbmc/u-boot/lib/
H A Dtpm-v2.c706 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 Dtpm.h195 TPM2_ST_NO_SESSIONS = 0x8001, enumerator
/openbmc/u-boot/include/
H A Dtpm-v2.h270 TPM2_ST_NO_SESSIONS = 0x8001, enumerator
/openbmc/u-boot/drivers/tpm/
H A Dtpm2_tis_sandbox.c78 if (tag != TPM2_ST_NO_SESSIONS) { in sandbox_tpm2_check_session()