Home
last modified time | relevance | path

Searched refs:pSecondarySession (Results 1 – 2 of 2) sorted by relevance

/hardware/ti/omap4-aah/security/tf_crypto_sst/
Dpkcs11_session.c57 PPKCS11_SECONDARY_SESSION_CONTEXT pSecondarySession = NULL; in C_OpenSession() local
232pSecondarySession = (PKCS11_SECONDARY_SESSION_CONTEXT*)malloc(sizeof(PKCS11_SECONDARY_SESSION_CONT… in C_OpenSession()
233 if (pSecondarySession == NULL) in C_OpenSession()
237 pSecondarySession->sHeader.nMagicWord = PKCS11_SESSION_MAGIC; in C_OpenSession()
238 pSecondarySession->sHeader.nSessionTag = PKCS11_SECONDARY_SESSION_TAG; in C_OpenSession()
239 pSecondarySession->pPrimarySession = pSession; in C_OpenSession()
243 &pSecondarySession->sSecondarySessionNode); in C_OpenSession()
247 free(pSecondarySession); in C_OpenSession()
265 *phSession = (CK_SESSION_HANDLE)pSecondarySession; in C_OpenSession()
266 pSecondarySession->hSecondaryCryptoSession = sOperation.params[0].value.a; in C_OpenSession()
[all …]
/hardware/ti/omap4xxx/security/tf_crypto_sst/
Dpkcs11_session.c57 PPKCS11_SECONDARY_SESSION_CONTEXT pSecondarySession = NULL; in C_OpenSession() local
232pSecondarySession = (PKCS11_SECONDARY_SESSION_CONTEXT*)malloc(sizeof(PKCS11_SECONDARY_SESSION_CONT… in C_OpenSession()
233 if (pSecondarySession == NULL) in C_OpenSession()
237 pSecondarySession->sHeader.nMagicWord = PKCS11_SESSION_MAGIC; in C_OpenSession()
238 pSecondarySession->sHeader.nSessionTag = PKCS11_SECONDARY_SESSION_TAG; in C_OpenSession()
239 pSecondarySession->pPrimarySession = pSession; in C_OpenSession()
243 &pSecondarySession->sSecondarySessionNode); in C_OpenSession()
247 free(pSecondarySession); in C_OpenSession()
265 *phSession = (CK_SESSION_HANDLE)pSecondarySession; in C_OpenSession()
266 pSecondarySession->hSecondaryCryptoSession = sOperation.params[0].value.a; in C_OpenSession()
[all …]