Searched refs:tpm_buf_init (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/char/tpm/ |
H A D | tpm1-cmd.c | 331 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()
|
H A D | tpm-buf.c | 18 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() function 27 EXPORT_SYMBOL_GPL(tpm_buf_init);
|
H A D | tpm_vtpm_proxy.c | 404 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()
|
H A D | tpm2-space.c | 79 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()
|
H A D | tpm2-sessions.c | 188 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()
|
H A D | tpm-sysfs.c | 47 if (tpm_buf_init(&tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK)) in pubek_show()
|
/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm2.c | 273 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_CREATE); in tpm2_seal_trusted() 441 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_LOAD); in tpm2_load_cmd() 503 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_UNSEAL); in tpm2_unseal_cmd()
|
H A D | trusted_tpm1.c | 678 ret = tpm_buf_init(&tb, 0, 0); in key_seal() 704 ret = tpm_buf_init(&tb, 0, 0); in key_unseal()
|
/linux/include/linux/ |
H A D | tpm.h | 415 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal);
|