Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/char/tpm/
Dtpm2-cmd.c196 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_PCR_READ); in tpm2_pcr_read()
248 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_PCR_EXTEND); in tpm2_pcr_extend()
314 err = tpm_buf_init(&buf, 0, 0); in tpm2_get_random()
364 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_FLUSH_CONTEXT); in tpm2_flush_context_cmd()
438 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_CREATE); in tpm2_seal_trusted()
554 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_LOAD); in tpm2_load_cmd()
610 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_UNSEAL); in tpm2_unseal_cmd()
708 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_tpm_pt()
740 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SHUTDOWN); in tpm2_shutdown()
795 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SELF_TEST); in tpm2_do_selftest()
[all …]
Dtpm_vtpm_proxy.c409 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, in vtpm_proxy_request_locality()
412 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, in vtpm_proxy_request_locality()
Dtpm-interface.c700 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_STARTUP); in tpm_startup()
706 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_STARTUP); in tpm_startup()
738 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_GET_CAP); in tpm_getcap()
1014 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_PCR_EXTEND); in tpm1_pcr_extend()
Dtpm2-space.c78 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()
Dtpm-sysfs.c50 rc = tpm_buf_init(&tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK); in pubek_show()
Dtpm.h436 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() function