Searched refs:tpm_buf_init (Results 1 - 10 of 10) sorted by last modified time

/linux-master/security/keys/trusted-keys/
H A Dtrusted_tpm1.c678 ret = tpm_buf_init(&tb, 0, 0);
704 ret = tpm_buf_init(&tb, 0, 0);
H A Dtrusted_tpm2.c260 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_CREATE);
428 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_LOAD);
490 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_UNSEAL);
/linux-master/include/linux/
H A Dtpm.h426 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal);
/linux-master/drivers/char/tpm/
H A Dtpm2-sessions.c596 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_READ_PUBLIC);
913 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_START_AUTH_SESS);
1155 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_CREATE_PRIMARY);
H A Dtpm2-space.c79 rc = tpm_buf_init(&tbuf, TPM2_ST_NO_SESSIONS, TPM2_CC_CONTEXT_LOAD);
132 rc = tpm_buf_init(&tbuf, TPM2_ST_NO_SESSIONS, TPM2_CC_CONTEXT_SAVE);
H A Dtpm2-cmd.c186 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_PCR_READ);
239 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_PCR_EXTEND);
299 err = tpm_buf_init(&buf, 0, 0);
359 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_FLUSH_CONTEXT);
399 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY);
440 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SHUTDOWN);
468 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SELF_TEST);
504 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY);
569 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY);
658 rc = tpm_buf_init(
[all...]
H A Dtpm-sysfs.c47 if (tpm_buf_init(&tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK))
H A Dtpm-buf.c11 * tpm_buf_init() - Allocate and initialize a TPM command
18 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) function
27 EXPORT_SYMBOL_GPL(tpm_buf_init); variable
H A Dtpm_vtpm_proxy.c403 rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS,
406 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND,
H A Dtpm1-cmd.c331 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_STARTUP);
469 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_PCR_EXTEND);
488 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_GET_CAP);
540 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_GET_RANDOM);
589 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_PCRREAD);
625 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_CONTINUE_SELFTEST);
755 rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_SAVESTATE);

Completed in 240 milliseconds