Home
last modified time | relevance | path

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

/drivers/char/tpm/
A Dtpm2-cmd.c190 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_PCR_READ); in tpm2_pcr_read()
245 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_PCR_EXTEND); in tpm2_pcr_extend()
315 err = tpm_buf_init(&buf, 0, 0); in tpm2_get_random()
380 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_FLUSH_CONTEXT); in tpm2_flush_context()
420 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_tpm_pt()
461 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SHUTDOWN); in tpm2_shutdown()
489 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SELF_TEST); in tpm2_do_selftest()
525 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_probe()
590 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_pcr_allocation()
679 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY); in tpm2_get_cc_attrs_tbl()
[all …]
A Dtpm1-cmd.c331 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_STARTUP); in tpm1_startup()
469 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_PCR_EXTEND); in tpm1_pcr_extend()
488 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_GET_CAP); in tpm1_getcap()
540 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_GET_RANDOM); in tpm1_get_random()
589 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_PCRREAD); in tpm1_pcr_read()
625 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_CONTINUE_SELFTEST); in tpm1_continue_selftest()
755 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_SAVESTATE); in tpm1_pm_suspend()
A Dtpm-buf.c18 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() function
27 EXPORT_SYMBOL_GPL(tpm_buf_init);
A Dtpm_vtpm_proxy.c404 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, in vtpm_proxy_request_locality()
407 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, in vtpm_proxy_request_locality()
A Dtpm2-space.c79 rc = tpm_buf_init(&tbuf, TPM2_ST_NO_SESSIONS, TPM2_CC_CONTEXT_LOAD); in tpm2_load_context()
132 rc = tpm_buf_init(&tbuf, TPM2_ST_NO_SESSIONS, TPM2_CC_CONTEXT_SAVE); in tpm2_save_context()
A Dtpm2-sessions.c188 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_READ_PUBLIC); in tpm2_read_public()
991 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_START_AUTH_SESS); in tpm2_start_auth_session()
1250 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_CREATE_PRIMARY); in tpm2_create_primary()
A Dtpm-sysfs.c47 if (tpm_buf_init(&tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK)) in pubek_show()

Completed in 21 milliseconds