Home
last modified time | relevance | path

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

/hardware/ti/omap4-aah/security/tf_crypto_sst/
Dpkcs11_global.c128 PPKCS11_SESSION_CONTEXT_HEADER pHeader = (PPKCS11_SESSION_CONTEXT_HEADER)hSession; in ckInternalSessionIsOpenedEx() local
131 if ((pHeader == NULL) || (pHeader->nMagicWord != PKCS11_SESSION_MAGIC)) in ckInternalSessionIsOpenedEx()
135 if (pHeader->nSessionTag == PKCS11_PRIMARY_SESSION_TAG) /* primary session */ in ckInternalSessionIsOpenedEx()
137 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)pHeader; in ckInternalSessionIsOpenedEx()
144 else if (pHeader->nSessionTag == PKCS11_SECONDARY_SESSION_TAG) /*secondary session */ in ckInternalSessionIsOpenedEx()
146 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession = (PPKCS11_SECONDARY_SESSION_CONTEXT)pHeader; in ckInternalSessionIsOpenedEx()
/hardware/ti/omap4xxx/security/tf_crypto_sst/
Dpkcs11_global.c128 PPKCS11_SESSION_CONTEXT_HEADER pHeader = (PPKCS11_SESSION_CONTEXT_HEADER)hSession; in ckInternalSessionIsOpenedEx() local
131 if ((pHeader == NULL) || (pHeader->nMagicWord != PKCS11_SESSION_MAGIC)) in ckInternalSessionIsOpenedEx()
135 if (pHeader->nSessionTag == PKCS11_PRIMARY_SESSION_TAG) /* primary session */ in ckInternalSessionIsOpenedEx()
137 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)pHeader; in ckInternalSessionIsOpenedEx()
144 else if (pHeader->nSessionTag == PKCS11_SECONDARY_SESSION_TAG) /*secondary session */ in ckInternalSessionIsOpenedEx()
146 PPKCS11_SECONDARY_SESSION_CONTEXT pSecSession = (PPKCS11_SECONDARY_SESSION_CONTEXT)pHeader; in ckInternalSessionIsOpenedEx()