Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/char/tpm/
Dtpm2-cmd.c200 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_PCR_READ); in tpm2_pcr_read()
321 tpm_buf_reset(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_RANDOM); in tpm2_get_random()
367 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_FLUSH_CONTEXT); in tpm2_flush_context()
699 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_tpm_pt()
731 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SHUTDOWN); in tpm2_shutdown()
759 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SELF_TEST); in tpm2_do_selftest()
795 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_probe()
805 if (be16_to_cpu(out->tag) == TPM2_ST_NO_SESSIONS) in tpm2_probe()
858 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_pcr_allocation()
943 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_cc_attrs_tbl()
[all …]
Dtpm2-space.c76 rc = tpm_buf_init(&tbuf, TPM2_ST_NO_SESSIONS, TPM2_CC_CONTEXT_LOAD); in tpm2_load_context()
126 rc = tpm_buf_init(&tbuf, TPM2_ST_NO_SESSIONS, TPM2_CC_CONTEXT_SAVE); in tpm2_save_context()
Dtpm-dev-common.c37 header->tag = cpu_to_be16(TPM2_ST_NO_SESSIONS); in tpm_dev_transmit()
Dtpm.h81 TPM2_ST_NO_SESSIONS = 0x8001, enumerator
/Linux-v5.4/tools/testing/selftests/tpm2/
Dtpm2.py12 TPM2_ST_NO_SESSIONS = 0x8001 variable
393 TPM2_ST_NO_SESSIONS,
439 TPM2_ST_NO_SESSIONS,
481 TPM2_ST_NO_SESSIONS,
495 TPM2_ST_NO_SESSIONS,
505 TPM2_ST_NO_SESSIONS,
515 TPM2_ST_NO_SESSIONS,
672 TPM2_ST_NO_SESSIONS,
Dtpm2_tests.py149 tpm2.TPM2_ST_NO_SESSIONS,
165 tpm2.TPM2_ST_NO_SESSIONS,
182 tpm2.TPM2_ST_NO_SESSIONS,
205 tpm2.TPM2_ST_NO_SESSIONS,
280 cmd = struct.pack(fmt, tpm2.TPM2_ST_NO_SESSIONS, struct.calcsize(fmt),