Searched refs:hTPM (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/ |
H A D | admin_cmds.c | 196 (void) print_tpm_version(hContext, hTPM); in cmd_status() 197 if (tpm_is_owned(hContext, hTPM)) { in cmd_status() 198 (void) print_tpm_resources(hContext, hTPM); in cmd_status() 199 (void) print_tpm_pcrs(hContext, hTPM); in cmd_status() 519 clearowner(TSS_HTPM hTPM) in clearowner() argument 527 ret = Tspi_TPM_ClearOwner(hTPM, FALSE); in clearowner() 536 resetlock(TSS_HTPM hTPM) in resetlock() argument 559 return (resetlock(hTPM)); in cmd_clear() 561 return (clearowner(hTPM)); in cmd_clear() 666 if (createek(hContext, hTPM)) in cmd_init() [all …]
|
H A D | main.c | 64 TSS_HOBJECT hTPM; in main() local 93 if (tpm_preamble(&hContext, &hTPM)) in main() 95 ret = fptr(hContext, hTPM, argc, argv); in main() 150 get_tpm_capability(TSS_HCONTEXT hContext, TSS_HOBJECT hTPM, UINT32 cap, in get_tpm_capability() argument 157 ret = Tspi_TPM_GetCapability(hTPM, cap, sizeof (subcap), in get_tpm_capability() 225 tpm_preamble(TSS_HCONTEXT *hContext, TSS_HOBJECT *hTPM) in tpm_preamble() argument 242 ret = Tspi_Context_GetTpmObject(*hContext, hTPM); in tpm_preamble()
|
H A D | tpmadm.h | 33 typedef int (*cmdfunc_t)(TSS_HCONTEXT hContext, TSS_HTPM hTPM, 45 int get_tpm_capability(TSS_HCONTEXT hContext, TSS_HOBJECT hTPM, 51 int tpm_preamble(TSS_HCONTEXT *hContext, TSS_HOBJECT *hTPM);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | tpm_specific.c | 552 TSS_HTPM hTPM; in token_get_tpm_info() local 554 if ((result = Tspi_Context_GetTpmObject(hContext, &hTPM))) { in token_get_tpm_info() 559 if ((result = Tspi_TPM_GetCapability(hTPM, in token_get_tpm_info() 607 TSS_HTPM hTPM; in token_rng() local 610 if ((rc = Tspi_Context_GetTpmObject(hContext, &hTPM))) { in token_rng() 616 if ((rc = Tspi_TPM_GetRandom(hTPM, bytes, &random_bytes))) { in token_rng() 1015 TSS_HTPM hTPM; in token_load_srk() local 1017 if ((result = Tspi_Context_GetTpmObject(hContext, &hTPM))) { in token_load_srk()
|