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