Lines Matching refs:hContext
62 TSS_HCONTEXT hContext; in main() local
92 if (tpm_preamble(&hContext, &hTPM)) in main()
94 ret = fptr(hContext, hTPM, argc, argv); in main()
95 (void) tpm_postamble(hContext); in main()
149 get_tpm_capability(TSS_HCONTEXT hContext, TSS_HOBJECT hTPM, UINT32 cap, in get_tpm_capability() argument
171 ret = Tspi_Context_FreeMemory(hContext, data); in get_tpm_capability()
224 tpm_preamble(TSS_HCONTEXT *hContext, TSS_HOBJECT *hTPM) in tpm_preamble() argument
228 ret = Tspi_Context_Create(hContext); in tpm_preamble()
234 ret = Tspi_Context_Connect(*hContext, NULL); in tpm_preamble()
237 (void) Tspi_Context_Close(*hContext); in tpm_preamble()
241 ret = Tspi_Context_GetTpmObject(*hContext, hTPM); in tpm_preamble()
244 (void) Tspi_Context_Close(*hContext); in tpm_preamble()
251 tpm_postamble(TSS_HCONTEXT hContext) in tpm_postamble() argument
255 ret = Tspi_Context_Close(hContext); in tpm_postamble()