• Home
  • Raw
  • Download

Lines Matching refs:esys_context

51 test_esys_create_session_auth(ESYS_CONTEXT * esys_context)  in test_esys_create_session_auth()  argument
183 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_create_session_auth()
188 r = Esys_CreatePrimary(esys_context, ESYS_TR_RH_OWNER, ESYS_TR_PASSWORD, in test_esys_create_session_auth()
195 r = esys_GetResourceObject(esys_context, primaryHandle, in test_esys_create_session_auth()
202 r = Esys_TR_SetAuth(esys_context, primaryHandle, &authValuePrimary); in test_esys_create_session_auth()
207 r = Esys_CreatePrimary(esys_context, ESYS_TR_RH_OWNER, ESYS_TR_PASSWORD, in test_esys_create_session_auth()
214 r = Esys_TR_SetAuth(esys_context, primaryHandle_AuthSession, &authValuePrimary); in test_esys_create_session_auth()
240 r = Esys_StartAuthSession(esys_context, in test_esys_create_session_auth()
248 r = Esys_TRSess_SetAttributes(esys_context, outerSession, TPMA_SESSION_AUDIT, in test_esys_create_session_auth()
252 r = Esys_StartAuthSession(esys_context, in test_esys_create_session_auth()
262 Esys_FlushContext(esys_context, outerSession); in test_esys_create_session_auth()
266 r = Esys_FlushContext(esys_context, primaryHandle_AuthSession); in test_esys_create_session_auth()
271 r = Esys_TRSess_SetAttributes(esys_context, session, sessionAttributes, in test_esys_create_session_auth()
275 r = Esys_TRSess_GetAttributes(esys_context, session, &sessionAttributes2); in test_esys_create_session_auth()
285 r = Esys_ContextSave(esys_context, session, &contextBlob); in test_esys_create_session_auth()
290 r = Esys_ContextLoad(esys_context, contextBlob, &session); in test_esys_create_session_auth()
295 r = Esys_TRSess_GetAttributes(esys_context, session, &sessionAttributes2); in test_esys_create_session_auth()
384 r = Esys_Create(esys_context, in test_esys_create_session_auth()
398 r = Esys_Load(esys_context, in test_esys_create_session_auth()
407 r = Esys_TR_SetAuth(esys_context, loadedKeyHandle, &authKey2); in test_esys_create_session_auth()
416 r = Esys_Create(esys_context, in test_esys_create_session_auth()
428 r = Esys_FlushContext(esys_context, primaryHandle); in test_esys_create_session_auth()
431 r = Esys_FlushContext(esys_context, loadedKeyHandle); in test_esys_create_session_auth()
434 r = Esys_FlushContext(esys_context, session); in test_esys_create_session_auth()
459 if (Esys_FlushContext(esys_context, session) != TSS2_RC_SUCCESS) { in test_esys_create_session_auth()
465 if (Esys_FlushContext(esys_context, loadedKeyHandle) != TSS2_RC_SUCCESS) { in test_esys_create_session_auth()
471 if (Esys_FlushContext(esys_context, primaryHandle) != TSS2_RC_SUCCESS) { in test_esys_create_session_auth()
478 if (Esys_FlushContext(esys_context, primaryHandle_AuthSession) != TSS2_RC_SUCCESS) { in test_esys_create_session_auth()
505 test_invoke_esapi(ESYS_CONTEXT * esys_context) { in test_invoke_esapi() argument
506 return test_esys_create_session_auth(esys_context); in test_invoke_esapi()