Searched refs:tpm_buf_init (Results  1 – 9 of 9) sorted by relevance
| /Linux-v5.10/drivers/char/tpm/ | 
| D | tpm2-cmd.c | 186 	rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_PCR_READ);  in tpm2_pcr_read() 243 	rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_PCR_EXTEND);  in tpm2_pcr_extend() 302 	err = tpm_buf_init(&buf, 0, 0);  in tpm2_get_random() 353 	rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_FLUSH_CONTEXT);  in tpm2_flush_context() 393 	rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY);  in tpm2_get_tpm_pt() 425 	rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SHUTDOWN);  in tpm2_shutdown() 453 		rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_SELF_TEST);  in tpm2_do_selftest() 489 	rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY);  in tpm2_probe() 554 	rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY);  in tpm2_get_pcr_allocation() 643 	rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_GET_CAPABILITY);  in tpm2_get_cc_attrs_tbl() [all …] 
 | 
| 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() 750 	rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND, TPM_ORD_SAVESTATE);  in tpm1_pm_suspend()
  | 
| D | tpm_vtpm_proxy.c | 403 		rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS,  in vtpm_proxy_request_locality() 406 		rc = tpm_buf_init(&buf, TPM_TAG_RQU_COMMAND,  in vtpm_proxy_request_locality()
  | 
| D | tpm2-space.c | 79 	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()
  | 
| D | tpm-sysfs.c | 47 	if (tpm_buf_init(&tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK))  in pubek_show()
  | 
| /Linux-v5.10/security/keys/trusted-keys/ | 
| D | trusted_tpm2.c | 82 	rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_CREATE);  in tpm2_seal_trusted() 196 	rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_LOAD);  in tpm2_load_cmd() 250 	rc = tpm_buf_init(&buf, TPM2_ST_SESSIONS, TPM2_CC_UNSEAL);  in tpm2_unseal_cmd()
  | 
| D | trusted_tpm1.c | 662 	ret = tpm_buf_init(&tb, 0, 0);  in key_seal() 688 	ret = tpm_buf_init(&tb, 0, 0);  in key_unseal()
  | 
| /Linux-v5.10/include/linux/ | 
| D | tpm.h | 322 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal)  in tpm_buf_init()  function
  | 
| /Linux-v5.10/crypto/asymmetric_keys/ | 
| D | asym_tpm.c | 521 	r = tpm_buf_init(&tb, 0, 0);  in tpm_key_decrypt() 669 	r = tpm_buf_init(&tb, 0, 0);  in tpm_key_sign()
  |