Lines Matching defs:tspContext
62 TSS_HCONTEXT tspContext;
80 if ((result = obj_tpm_get_tsp_context(hTPM, &tspContext)))
89 free_tspi(tspContext, cb);
184 if ((result = authsess_xsap_init(tspContext, hTPM, hIdentityKey, TSS_AUTH_POLICY_REQUIRED,
211 if ((result = obj_context_transport_get_control(tspContext, TSS_TSPATTRIB_ENABLE_TRANSPORT,
216 if ((result = Transport_MakeIdentity2(tspContext, xsap->encAuthUse, chosenIDHash,
223 if ((result = RPC_MakeIdentity(tspContext, xsap->encAuthUse, chosenIDHash,
308 free_tspi(tspContext, idPub);
325 free_tspi(tspContext, cb);
340 free_tspi(tspContext, cb);
345 if ((result = get_local_random(tspContext, TRUE, symKey.size, &symKey.data)))
382 free_tspi(tspContext, cb);
385 if ((*prgbTcpaIdentityReq = calloc_tspi(tspContext, offset)) == NULL) {
415 TSS_HCONTEXT tspContext;
434 if ((result = obj_tpm_get_tsp_context(hTPM, &tspContext)))
443 free_tspi(tspContext, cb);
477 if ((result = TCS_API(tspContext)->ActivateTPMIdentity(tspContext, tcsKeyHandle,
518 free_tspi(tspContext, cb);
531 free_tspi(tspContext, cb);
536 free_tspi(tspContext, cb);
539 if ((*prgbCredential = calloc_tspi(tspContext, credLen)) == NULL) {
569 if ((*prgbCredential = calloc_tspi(tspContext, credLen)) == NULL) {