HomeSort by relevance Sort by last modified time
    Searched full:psession (Results 1 - 25 of 31) sorted by null

1 2

  /frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
FwdLockConv.c 239 * @param[in,out] pSession A reference to a converter session.
243 static int FwdLockConv_DeriveKeys(FwdLockConv_Session_t *pSession) {
255 if (AES_set_encrypt_key(pSession->sessionKey, KEY_SIZE_IN_BITS,
263 &pSession->encryptionRoundKeys) != 0) {
269 HMAC_CTX_init(&pSession->signingContext);
270 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
310 * @param[in,out] pSession A reference to a converter session.
314 static FwdLockConv_Status_t FwdLockConv_RightTrimDelimiter(FwdLockConv_Session_t *pSession) {
315 while (pSession->delimiterLength > 4 &&
316 pSession->delimiter[pSession->delimiterLength - 1] == ' ')
    [all...]
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
FwdLockFile.c 167 * @param[in,out] pSession A reference to a file session.
171 static int FwdLockFile_DeriveKeys(FwdLockFile_Session_t * pSession) {
184 result = FwdLockGlue_DecryptKey(pSession->pEncryptedSessionKey,
185 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE);
194 &pSession->encryptionRoundKeys) != 0) {
200 HMAC_CTX_init(&pSession->signingContext);
201 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
242 * @param[in,out] pSession A reference to a file session.
245 void FwdLockFile_DecryptByte(FwdLockFile_Session_t * pSession, unsigned char *pByte) {
246 uint64_t blockIndex = pSession->filePos / AES_BLOCK_SIZE
    [all...]
  /hardware/ti/omap4-aah/security/tf_crypto_sst/
pkcs11_session.c 56 PPKCS11_PRIMARY_SESSION_CONTEXT pSession = NULL;
88 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)malloc(sizeof(PKCS11_PRIMARY_SESSION_CONTEXT));
89 if (pSession == NULL)
94 pSession->sHeader.nMagicWord = PKCS11_SESSION_MAGIC;
95 pSession->sHeader.nSessionTag = PKCS11_PRIMARY_SESSION_TAG;
96 memset(&pSession->sSession, 0, sizeof(TEEC_Session));
97 pSession->sSecondarySessionTable.pRoot = NULL_PTR;
101 memset(&pSession->sSecondarySessionTableMutex, 0,
102 sizeof(pSession->sSecondarySessionTableMutex));
103 libMutexInit(&pSession->sSecondarySessionTableMutex)
    [all...]
mtc.c 82 MTC_SESSION_CONTEXT* pSession = NULL;
90 pSession = (MTC_SESSION_CONTEXT *)hCounter;
91 if ((pSession == NULL) || (pSession->nMagicWord != MTC_SESSION_MAGIC))
106 sOperation.params[0].value.a = pSession->nCounterIdentifier;
108 nError = TEEC_InvokeCommand(&pSession->sSession,
109 (pSession->hCryptoSession << 16 ) |
163 MTC_SESSION_CONTEXT* pSession = NULL;
183 pSession = (MTC_SESSION_CONTEXT*)malloc(sizeof(MTC_SESSION_CONTEXT));
184 if (pSession == NULL
    [all...]
sst_stub.c 256 TEEC_Session* pSession;
275 pSession = static_SSTGetSession();
276 if (pSession == NULL)
286 nError = TEEC_InvokeCommand(pSession,
301 TEEC_Session* pSession;
311 pSession = static_SSTGetSession();
312 if (pSession == NULL)
319 nError = TEEC_InvokeCommand(pSession,
332 TEEC_Session* pSession;
347 pSession = static_SSTGetSession()
    [all...]
pkcs11_object.c 76 PPKCS11_PRIMARY_SESSION_CONTEXT pSession =
79 *phSession = pSession->hCryptoSession;
80 *phCommandIDAndSession = (pSession->hCryptoSession<<16)|(*phCommandIDAndSession&0x00007FFF);
81 *ppSession = pSession;
263 PPKCS11_PRIMARY_SESSION_CONTEXT pSession;
265 nErrorCode = static_checkPreConditionsAndUpdateHandles(&hSession, &nCommandIDAndSession, &pSession);
297 teeErr = TEEC_InvokeCommand( &pSession->sSession,
333 PPKCS11_PRIMARY_SESSION_CONTEXT pSession;
335 nErrorCode = static_checkPreConditionsAndUpdateHandles(&hSession, &nCommandIDAndSession, &pSession);
376 teeErr = TEEC_InvokeCommand(&pSession->sSession
    [all...]
pkcs11_global.c 129 PPKCS11_PRIMARY_SESSION_CONTEXT pSession = NULL;
137 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)pHeader;
142 return (pSession->hCryptoSession != CK_INVALID_HANDLE);
151 pSession = pSecSession->pPrimarySession;
152 if ( (pSession == NULL) ||
153 (pSession->sHeader.nMagicWord != PKCS11_SESSION_MAGIC) ||
154 (pSession->sHeader.nSessionTag != PKCS11_PRIMARY_SESSION_TAG))
159 if (pSession->hCryptoSession == CK_INVALID_HANDLE)
  /hardware/ti/omap4xxx/security/tf_crypto_sst/
pkcs11_session.c 56 PPKCS11_PRIMARY_SESSION_CONTEXT pSession = NULL;
88 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)malloc(sizeof(PKCS11_PRIMARY_SESSION_CONTEXT));
89 if (pSession == NULL)
94 pSession->sHeader.nMagicWord = PKCS11_SESSION_MAGIC;
95 pSession->sHeader.nSessionTag = PKCS11_PRIMARY_SESSION_TAG;
96 memset(&pSession->sSession, 0, sizeof(TEEC_Session));
97 pSession->sSecondarySessionTable.pRoot = NULL_PTR;
101 memset(&pSession->sSecondarySessionTableMutex, 0,
102 sizeof(pSession->sSecondarySessionTableMutex));
103 libMutexInit(&pSession->sSecondarySessionTableMutex)
    [all...]
mtc.c 82 MTC_SESSION_CONTEXT* pSession = NULL;
90 pSession = (MTC_SESSION_CONTEXT *)hCounter;
91 if ((pSession == NULL) || (pSession->nMagicWord != MTC_SESSION_MAGIC))
106 sOperation.params[0].value.a = pSession->nCounterIdentifier;
108 nError = TEEC_InvokeCommand(&pSession->sSession,
109 (pSession->hCryptoSession << 16 ) |
163 MTC_SESSION_CONTEXT* pSession = NULL;
183 pSession = (MTC_SESSION_CONTEXT*)malloc(sizeof(MTC_SESSION_CONTEXT));
184 if (pSession == NULL
    [all...]
sst_stub.c 257 TEEC_Session* pSession;
276 pSession = static_SSTGetSession();
277 if (pSession == NULL)
287 nError = TEEC_InvokeCommand(pSession,
302 TEEC_Session* pSession;
312 pSession = static_SSTGetSession();
313 if (pSession == NULL)
320 nError = TEEC_InvokeCommand(pSession,
333 TEEC_Session* pSession;
348 pSession = static_SSTGetSession()
    [all...]
pkcs11_object.c 76 PPKCS11_PRIMARY_SESSION_CONTEXT pSession =
79 *phSession = pSession->hCryptoSession;
80 *phCommandIDAndSession = (pSession->hCryptoSession<<16)|(*phCommandIDAndSession&0x00007FFF);
81 *ppSession = pSession;
266 PPKCS11_PRIMARY_SESSION_CONTEXT pSession;
268 nErrorCode = static_checkPreConditionsAndUpdateHandles(&hSession, &nCommandIDAndSession, &pSession);
300 teeErr = TEEC_InvokeCommand( &pSession->sSession,
336 PPKCS11_PRIMARY_SESSION_CONTEXT pSession;
338 nErrorCode = static_checkPreConditionsAndUpdateHandles(&hSession, &nCommandIDAndSession, &pSession);
379 teeErr = TEEC_InvokeCommand(&pSession->sSession
    [all...]
pkcs11_global.c 129 PPKCS11_PRIMARY_SESSION_CONTEXT pSession = NULL;
137 pSession = (PPKCS11_PRIMARY_SESSION_CONTEXT)pHeader;
142 return (pSession->hCryptoSession != CK_INVALID_HANDLE);
151 pSession = pSecSession->pPrimarySession;
152 if ( (pSession == NULL) ||
153 (pSession->sHeader.nMagicWord != PKCS11_SESSION_MAGIC) ||
154 (pSession->sHeader.nSessionTag != PKCS11_PRIMARY_SESSION_TAG))
159 if (pSession->hCryptoSession == CK_INVALID_HANDLE)
  /hardware/qcom/gps/loc_api/libloc_api_50001/
loc_eng_ni.cpp 119 loc_eng_ni_session_s_type* pSession = NULL;
134 pSession = &loc_eng_ni_data_p->sessionEs;
145 pSession = &loc_eng_ni_data_p->session;
150 if (pSession) {
152 pSession->rawRequest = (void*)passThrough;
153 pSession->reqID = ++loc_eng_ni_data_p->reqIDCounter;
154 pSession->adapter = loc_eng_data.adapter;
157 ((GpsNiNotification*)notif)->notification_id = pSession->reqID;
176 pSession->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_TIME);
177 LOC_LOGI("Automatically sends 'no response' in %d seconds (to clear status)\n", pSession->respTimeLeft)
    [all...]
  /hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
loc_eng_ni.cpp 119 loc_eng_ni_session_s_type* pSession = NULL;
134 pSession = &loc_eng_ni_data_p->sessionEs;
145 pSession = &loc_eng_ni_data_p->session;
150 if (pSession) {
152 pSession->rawRequest = (void*)passThrough;
153 pSession->reqID = ++loc_eng_ni_data_p->reqIDCounter;
154 pSession->adapter = loc_eng_data.adapter;
157 ((GpsNiNotification*)notif)->notification_id = pSession->reqID;
176 pSession->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_TIME);
177 LOC_LOGI("Automatically sends 'no response' in %d seconds (to clear status)\n", pSession->respTimeLeft)
    [all...]
  /hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
loc_eng_ni.cpp 119 loc_eng_ni_session_s_type* pSession = NULL;
134 pSession = &loc_eng_ni_data_p->sessionEs;
145 pSession = &loc_eng_ni_data_p->session;
150 if (pSession) {
152 pSession->rawRequest = (void*)passThrough;
153 pSession->reqID = ++loc_eng_ni_data_p->reqIDCounter;
154 pSession->adapter = loc_eng_data.adapter;
157 ((GpsNiNotification*)notif)->notification_id = pSession->reqID;
176 pSession->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_TIME);
177 LOC_LOGI("Automatically sends 'no response' in %d seconds (to clear status)\n", pSession->respTimeLeft)
    [all...]
  /hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
loc_eng_ni.cpp 119 loc_eng_ni_session_s_type* pSession = NULL;
134 pSession = &loc_eng_ni_data_p->sessionEs;
145 pSession = &loc_eng_ni_data_p->session;
150 if (pSession) {
152 pSession->rawRequest = (void*)passThrough;
153 pSession->reqID = ++loc_eng_ni_data_p->reqIDCounter;
154 pSession->adapter = loc_eng_data.adapter;
157 ((GpsNiNotification*)notif)->notification_id = pSession->reqID;
176 pSession->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_TIME);
177 LOC_LOGI("Automatically sends 'no response' in %d seconds (to clear status)\n", pSession->respTimeLeft)
    [all...]
  /hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
loc_eng_ni.cpp 119 loc_eng_ni_session_s_type* pSession = NULL;
134 pSession = &loc_eng_ni_data_p->sessionEs;
145 pSession = &loc_eng_ni_data_p->session;
150 if (pSession) {
152 pSession->rawRequest = (void*)passThrough;
153 pSession->reqID = ++loc_eng_ni_data_p->reqIDCounter;
154 pSession->adapter = loc_eng_data.adapter;
157 ((GpsNiNotification*)notif)->notification_id = pSession->reqID;
176 pSession->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_TIME);
177 LOC_LOGI("Automatically sends 'no response' in %d seconds (to clear status)\n", pSession->respTimeLeft)
    [all...]
  /hardware/qcom/gps/msmcobalt/loc_api/libloc_api_50001/
loc_eng_ni.cpp 118 loc_eng_ni_session_s_type* pSession = NULL;
133 pSession = &loc_eng_ni_data_p->sessionEs;
144 pSession = &loc_eng_ni_data_p->session;
149 if (pSession) {
151 pSession->rawRequest = (void*)passThrough;
152 pSession->reqID = ++loc_eng_ni_data_p->reqIDCounter;
153 pSession->adapter = loc_eng_data.adapter;
156 ((GpsNiNotification*)notif)->notification_id = pSession->reqID;
175 pSession->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_TIME);
176 LOC_LOGI("Automatically sends 'no response' in %d seconds (to clear status)\n", pSession->respTimeLeft)
    [all...]
  /external/libnfc-nci/halimpl/pn54x/dnld/
phDnldNfc.h 94 extern NFCSTATUS phDnldNfc_GetSessionState(pphDnldNfc_Buff_t pSession, pphDnldNfc_RspCb_t pNotify, void *pContext);
phDnldNfc.c 181 ** Parameters pSession - response buffer which gets updated with complete version info from NFCC
192 NFCSTATUS phDnldNfc_GetSessionState(pphDnldNfc_Buff_t pSession, pphDnldNfc_RspCb_t pNotify, void *pContext)
196 if((NULL == pSession) || (NULL == pNotify) ||
212 if((NULL != pSession->pBuff) && (0 != pSession->wLen))
214 (gpphDnldContext->tRspBuffInfo.pBuff) = pSession->pBuff;
215 (gpphDnldContext->tRspBuffInfo.wLen) = pSession->wLen;
    [all...]
  /hardware/qcom/camera/mm-image-codec/qomx_core/
QOMX_JpegExtensions.h 310 * @psession - reference to jpeg session ptr
314 void *psession; member in struct:__anon31912
  /hardware/qcom/camera/msmcobalt/mm-image-codec/qomx_core/
QOMX_JpegExtensions.h 310 * @psession - reference to jpeg session ptr
314 void *psession; member in struct:__anon32573
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
mapiform.h 41 STDAPI MAPIOpenFormMgr(LPMAPISESSION pSession,LPMAPIFORMMGR *ppmgr);
  /hardware/ti/omap4-aah/security/tf_daemon/
delegation_client.c 993 static int runSession(TEEC_Context* pContext, TEEC_Session* pSession, TEEC_Operation* pOperation)
1021 nTeeError = TEEC_InvokeCommand(pSession,
    [all...]
  /hardware/ti/omap4xxx/security/tf_daemon/
delegation_client.c 875 static int runSession(TEEC_Context* pContext, TEEC_Session* pSession, TEEC_Operation* pOperation)
903 nTeeError = TEEC_InvokeCommand(pSession,
    [all...]

Completed in 1377 milliseconds

1 2