Home
last modified time | relevance | path

Searched refs:tpm_buf_reset (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/char/tpm/
H A Dtpm2-cmd.c137 tpm_buf_reset(buf, TPM2_ST_NO_SESSIONS, TPM2_CC_PCR_READ); in tpm2_pcr_read()
194 tpm_buf_reset(buf, TPM2_ST_SESSIONS, TPM2_CC_PCR_EXTEND); in tpm2_pcr_extend()
270 tpm_buf_reset(buf, TPM2_ST_SESSIONS, TPM2_CC_GET_RANDOM); in tpm2_get_random()
339 tpm_buf_reset(buf, TPM2_ST_NO_SESSIONS, TPM2_CC_FLUSH_CONTEXT); in tpm2_flush_context()
368 tpm_buf_reset(buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_tpm_pt()
408 tpm_buf_reset(buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SHUTDOWN); in tpm2_shutdown()
439 tpm_buf_reset(buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SELF_TEST); in tpm2_do_selftest()
474 tpm_buf_reset(buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_probe()
534 tpm_buf_reset(buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_pcr_allocation()
623 tpm_buf_reset(buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_cc_attrs_tbl()
[all …]
H A Dtpm1-cmd.c330 tpm_buf_reset(buf, TPM_TAG_RQU_COMMAND, TPM_ORD_STARTUP); in tpm1_startup()
463 tpm_buf_reset(buf, TPM_TAG_RQU_COMMAND, TPM_ORD_PCR_EXTEND); in tpm1_pcr_extend()
480 tpm_buf_reset(buf, TPM_TAG_RQU_COMMAND, TPM_ORD_GET_CAP); in tpm1_getcap()
530 tpm_buf_reset(buf, TPM_TAG_RQU_COMMAND, TPM_ORD_GET_RANDOM); in tpm1_get_random()
559 tpm_buf_reset(buf, TPM_TAG_RQU_COMMAND, TPM_ORD_GET_RANDOM); in tpm1_get_random()
576 tpm_buf_reset(buf, TPM_TAG_RQU_COMMAND, TPM_ORD_PCR_READ); in tpm1_pcr_read()
606 tpm_buf_reset(buf, TPM_TAG_RQU_COMMAND, TPM_ORD_CONTINUE_SELFTEST); in tpm1_continue_selftest()
732 tpm_buf_reset(buf, TPM_TAG_RQU_COMMAND, TPM_ORD_SAVESTATE); in tpm1_pm_suspend()
751 tpm_buf_reset(buf, TPM_TAG_RQU_COMMAND, TPM_ORD_SAVESTATE); in tpm1_pm_suspend()
H A Dtpm-buf.c95 void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() function
101 EXPORT_SYMBOL_GPL(tpm_buf_reset);
H A Dtpm_vtpm_proxy.c408 tpm_buf_reset(buf, TPM2_ST_SESSIONS, TPM2_CC_SET_LOCALITY); in vtpm_proxy_request_locality()
410 tpm_buf_reset(buf, TPM_TAG_RQU_COMMAND, TPM_ORD_SET_LOCALITY); in vtpm_proxy_request_locality()
H A Dtpm2-space.c70 tpm_buf_reset(tbuf, TPM2_ST_NO_SESSIONS, TPM2_CC_CONTEXT_LOAD); in tpm2_load_context()
119 tpm_buf_reset(tbuf, TPM2_ST_NO_SESSIONS, TPM2_CC_CONTEXT_SAVE); in tpm2_save_context()
H A Dtpm2-sessions.c184 tpm_buf_reset(buf, TPM2_ST_NO_SESSIONS, TPM2_CC_READ_PUBLIC); in tpm2_read_public()
1027 tpm_buf_reset(buf, TPM2_ST_NO_SESSIONS, TPM2_CC_START_AUTH_SESS); in tpm2_start_auth_session()
1294 tpm_buf_reset(buf, TPM2_ST_SESSIONS, TPM2_CC_CREATE_PRIMARY); in tpm2_create_primary()
H A Dtpm-sysfs.c54 tpm_buf_reset(tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK); in pubek_show()
/linux/include/linux/
H A Dtpm_buf.h48 void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal);
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c267 tpm_buf_reset(buf, TPM2_ST_SESSIONS, TPM2_CC_CREATE); in tpm2_seal_trusted()
442 tpm_buf_reset(buf, TPM2_ST_SESSIONS, TPM2_CC_LOAD); in tpm2_load_cmd()
506 tpm_buf_reset(buf, TPM2_ST_SESSIONS, TPM2_CC_UNSEAL); in tpm2_unseal_cmd()
H A Dtrusted_tpm1.c373 tpm_buf_reset(tb, TPM_TAG_RQU_COMMAND, TPM_ORD_OSAP); in osap()
401 tpm_buf_reset(tb, TPM_TAG_RQU_COMMAND, TPM_ORD_OIAP); in oiap()
499 tpm_buf_reset(tb, TPM_TAG_RQU_AUTH1_COMMAND, TPM_ORD_SEAL); in tpm_seal()
590 tpm_buf_reset(tb, TPM_TAG_RQU_AUTH2_COMMAND, TPM_ORD_UNSEAL); in tpm_unseal()