Home
last modified time | relevance | path

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

/hardware/ti/omap4-aah/security/tf_crypto_sst/
Dpkcs11_session.c314 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession; in C_CloseSession() local
343 pSecSession = LIB_OBJECT_CONTAINER_OF(pObject, //ptr in C_CloseSession()
348 free(pSecSession); in C_CloseSession()
361 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession = (PPKCS11_SECONDARY_SESSION_CONTEXT)hSession; in C_CloseSession() local
364 uint32_t nCommandID = ( (pSecSession->hSecondaryCryptoSession & 0xFFFF) << 16 ) | in C_CloseSession()
369 hSession = pSecSession->pPrimarySession->hCryptoSession; in C_CloseSession()
370 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)(pSecSession->pPrimarySession); in C_CloseSession()
386 …libObjectHandle16Remove(&pSecSession->pPrimarySession->sSecondarySessionTable, &pSecSession->sSeco… in C_CloseSession()
390 free(pSecSession); in C_CloseSession()
Dpkcs11_global.c146 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession = (PPKCS11_SECONDARY_SESSION_CONTEXT)pHeader; in ckInternalSessionIsOpenedEx() local
151 pSession = pSecSession->pPrimarySession; in ckInternalSessionIsOpenedEx()
165 return (pSecSession->hSecondaryCryptoSession != CK_INVALID_HANDLE); in ckInternalSessionIsOpenedEx()
Dpkcs11_object.c85 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession = in static_checkPreConditionsAndUpdateHandles() local
88 *phSession = pSecSession->pPrimarySession->hCryptoSession; in static_checkPreConditionsAndUpdateHandles()
89 …*phCommandIDAndSession = (pSecSession->hSecondaryCryptoSession<<16)|(1<<15)|(*phCommandIDAndSessio… in static_checkPreConditionsAndUpdateHandles()
90 *ppSession = pSecSession->pPrimarySession; in static_checkPreConditionsAndUpdateHandles()
/hardware/ti/omap4xxx/security/tf_crypto_sst/
Dpkcs11_session.c314 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession; in C_CloseSession() local
343 pSecSession = LIB_OBJECT_CONTAINER_OF(pObject, //ptr in C_CloseSession()
348 free(pSecSession); in C_CloseSession()
361 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession = (PPKCS11_SECONDARY_SESSION_CONTEXT)hSession; in C_CloseSession() local
364 uint32_t nCommandID = ( (pSecSession->hSecondaryCryptoSession & 0xFFFF) << 16 ) | in C_CloseSession()
369 hSession = pSecSession->pPrimarySession->hCryptoSession; in C_CloseSession()
370 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)(pSecSession->pPrimarySession); in C_CloseSession()
386 …libObjectHandle16Remove(&pSecSession->pPrimarySession->sSecondarySessionTable, &pSecSession->sSeco… in C_CloseSession()
390 free(pSecSession); in C_CloseSession()
Dpkcs11_global.c146 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession = (PPKCS11_SECONDARY_SESSION_CONTEXT)pHeader; in ckInternalSessionIsOpenedEx() local
151 pSession = pSecSession->pPrimarySession; in ckInternalSessionIsOpenedEx()
165 return (pSecSession->hSecondaryCryptoSession != CK_INVALID_HANDLE); in ckInternalSessionIsOpenedEx()
Dpkcs11_object.c85 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession = in static_checkPreConditionsAndUpdateHandles() local
88 *phSession = pSecSession->pPrimarySession->hCryptoSession; in static_checkPreConditionsAndUpdateHandles()
89 …*phCommandIDAndSession = (pSecSession->hSecondaryCryptoSession<<16)|(1<<15)|(*phCommandIDAndSessio… in static_checkPreConditionsAndUpdateHandles()
90 *ppSession = pSecSession->pPrimarySession; in static_checkPreConditionsAndUpdateHandles()