Home
last modified time | relevance | path

Searched refs:phSession (Results 1 – 6 of 6) sorted by relevance

/hardware/ti/omap4-aah/security/tf_crypto_sst/
Dpkcs11_session.c50 … CK_SESSION_HANDLE* phSession) /* receives new session handle */ in C_OpenSession() argument
70 if (phSession == NULL) in C_OpenSession()
83 *phSession = CK_INVALID_HANDLE; in C_OpenSession()
213 *phSession = (CK_SESSION_HANDLE)pSession; in C_OpenSession()
223 if ((!ckInternalSessionIsOpenedEx(*phSession, &bIsPrimarySession)) || in C_OpenSession()
229 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)(*phSession); in C_OpenSession()
265 *phSession = (CK_SESSION_HANDLE)pSecondarySession; in C_OpenSession()
Dpkcs11_object.c51 CK_SESSION_HANDLE* phSession, in static_checkPreConditionsAndUpdateHandles() argument
63 if (phSession == NULL) in static_checkPreConditionsAndUpdateHandles()
69 if (!ckInternalSessionIsOpenedEx(*phSession, &bIsPrimarySession)) in static_checkPreConditionsAndUpdateHandles()
77 (PPKCS11_PRIMARY_SESSION_CONTEXT)(*phSession); in static_checkPreConditionsAndUpdateHandles()
79 *phSession = pSession->hCryptoSession; in static_checkPreConditionsAndUpdateHandles()
86 (PPKCS11_SECONDARY_SESSION_CONTEXT)(*phSession); in static_checkPreConditionsAndUpdateHandles()
88 *phSession = pSecSession->pPrimarySession->hCryptoSession; in static_checkPreConditionsAndUpdateHandles()
/hardware/ti/omap4xxx/security/tf_crypto_sst/
Dpkcs11_session.c50 … CK_SESSION_HANDLE* phSession) /* receives new session handle */ in C_OpenSession() argument
70 if (phSession == NULL) in C_OpenSession()
83 *phSession = CK_INVALID_HANDLE; in C_OpenSession()
213 *phSession = (CK_SESSION_HANDLE)pSession; in C_OpenSession()
223 if ((!ckInternalSessionIsOpenedEx(*phSession, &bIsPrimarySession)) || in C_OpenSession()
229 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)(*phSession); in C_OpenSession()
265 *phSession = (CK_SESSION_HANDLE)pSecondarySession; in C_OpenSession()
Dpkcs11_object.c51 CK_SESSION_HANDLE* phSession, in static_checkPreConditionsAndUpdateHandles() argument
63 if (phSession == NULL) in static_checkPreConditionsAndUpdateHandles()
69 if (!ckInternalSessionIsOpenedEx(*phSession, &bIsPrimarySession)) in static_checkPreConditionsAndUpdateHandles()
77 (PPKCS11_PRIMARY_SESSION_CONTEXT)(*phSession); in static_checkPreConditionsAndUpdateHandles()
79 *phSession = pSession->hCryptoSession; in static_checkPreConditionsAndUpdateHandles()
86 (PPKCS11_SECONDARY_SESSION_CONTEXT)(*phSession); in static_checkPreConditionsAndUpdateHandles()
88 *phSession = pSecSession->pPrimarySession->hCryptoSession; in static_checkPreConditionsAndUpdateHandles()
/hardware/ti/omap4-aah/security/tf_sdk/include/
Dpkcs11.h388 CK_SESSION_HANDLE* phSession);
/hardware/ti/omap4xxx/security/tf_sdk/include/
Dpkcs11.h388 CK_SESSION_HANDLE* phSession);