Home | History | Annotate | Download | only in common_lib

Lines Matching refs:hContext

156           hContext: a c_uint32, context object handle.
165 self.hContext = c_uint32(0)
190 if self.tspi_lib.Tspi_Context_FreeMemory(self.hContext,
196 if self.tspi_lib.Tspi_Context_Close(self.hContext) != 0:
214 if self.tspi_lib.Tspi_Context_CloseObject(self.hContext, hObject) != 0:
233 if self.tspi_lib.Tspi_Context_Create(byref(self.hContext)) != 0:
236 logging.info('Created tspi context = 0x%x', self.hContext.value)
238 if self.tspi_lib.Tspi_Context_Connect(self.hContext,
244 if self.tspi_lib.Tspi_Context_GetTpmObject(self.hContext,
453 self.hContext, TSS_OBJECT_TYPE_RSAKEY, flag, byref(hSrk))