Lines Matching refs:sessionHandle
110 * @param sessionHandle [in] Session handle
113 mcSessionHandle_t sessionHandle
121 mcRet = mcCloseSession(&sessionHandle);
163 mcSessionHandle_t sessionHandle;
170 pTci = TEE_Open(&sessionHandle);
177 mcRet = mcMap(&sessionHandle, keyData, keyDataLength, &mapInfo);
192 mcRet = mcNotify(&sessionHandle);
200 if (MC_DRV_OK != mcWaitNotification(&sessionHandle, MC_INFINITE_TIMEOUT))
207 mcRet = mcUnmap(&sessionHandle, keyData, &mapInfo);
228 TEE_Close(sessionHandle);
258 mcSessionHandle_t sessionHandle;
267 pTci = TEE_Open(&sessionHandle);
274 mcRet = mcMap(&sessionHandle, (void*)keyData, keyDataLength, &keyMapInfo);
280 mcRet = mcMap(&sessionHandle, (void*)plainData, plainDataLength, &plainMapInfo);
286 mcRet = mcMap(&sessionHandle, (void*)signatureData, *signatureDataLength, &signatureMapInfo);
306 mcRet = mcNotify(&sessionHandle);
314 if (MC_DRV_OK != mcWaitNotification(&sessionHandle, MC_INFINITE_TIMEOUT))
321 mcRet = mcUnmap(&sessionHandle, (void*)keyData, &keyMapInfo);
328 mcRet = mcUnmap(&sessionHandle, (void*)plainData, &plainMapInfo);
335 mcRet = mcUnmap(&sessionHandle, (void*)signatureData, &signatureMapInfo);
356 TEE_Close(sessionHandle);
388 mcSessionHandle_t sessionHandle;
397 pTci = TEE_Open(&sessionHandle);
404 mcRet = mcMap(&sessionHandle, (void*)keyData, keyDataLength, &keyMapInfo);
410 mcRet = mcMap(&sessionHandle, (void*)plainData, plainDataLength, &plainMapInfo);
416 mcRet = mcMap(&sessionHandle, (void*)signatureData, signatureDataLength, &signatureMapInfo);
437 mcRet = mcNotify(&sessionHandle);
445 if (MC_DRV_OK != mcWaitNotification(&sessionHandle, MC_INFINITE_TIMEOUT))
452 mcRet = mcUnmap(&sessionHandle, (void*)keyData, &keyMapInfo);
459 mcRet = mcUnmap(&sessionHandle, (void*)plainData, &plainMapInfo);
466 mcRet = mcUnmap(&sessionHandle, (void*)signatureData, &signatureMapInfo);
486 TEE_Close(sessionHandle);
509 mcSessionHandle_t sessionHandle;
516 pTci = TEE_Open(&sessionHandle);
523 mcRet = mcMap(&sessionHandle, (void*)keyData, keyDataLength, &keyMapInfo);
535 mcRet = mcNotify(&sessionHandle);
543 if (MC_DRV_OK != mcWaitNotification(&sessionHandle, MC_INFINITE_TIMEOUT))
550 mcRet = mcUnmap(&sessionHandle, (void*)keyData, &keyMapInfo);
570 TEE_Close(sessionHandle);
599 mcSessionHandle_t sessionHandle;
608 pTci = TEE_Open(&sessionHandle);
615 mcRet = mcMap(&sessionHandle, (void*)keyData, keyDataLength, &keyMapInfo);
621 mcRet = mcMap(&sessionHandle, (void*)plainData, plainDataLength, &plainMapInfo);
627 mcRet = mcMap(&sessionHandle, (void*)signatureData, *signatureDataLength, &signatureMapInfo);
647 mcRet = mcNotify(&sessionHandle);
655 if (MC_DRV_OK != mcWaitNotification(&sessionHandle, MC_INFINITE_TIMEOUT))
662 mcRet = mcUnmap(&sessionHandle, (void*)keyData, &keyMapInfo);
669 mcRet = mcUnmap(&sessionHandle, (void*)plainData, &plainMapInfo);
676 mcRet = mcUnmap(&sessionHandle, (void*)signatureData, &signatureMapInfo);
697 TEE_Close(sessionHandle);
727 mcSessionHandle_t sessionHandle;
736 pTci = TEE_Open(&sessionHandle);
743 mcRet = mcMap(&sessionHandle, (void*)keyData, keyDataLength, &keyMapInfo);
749 mcRet = mcMap(&sessionHandle, (void*)plainData, plainDataLength, &plainMapInfo);
755 mcRet = mcMap(&sessionHandle, (void*)signatureData, signatureDataLength, &signatureMapInfo);
776 mcRet = mcNotify(&sessionHandle);
784 if (MC_DRV_OK != mcWaitNotification(&sessionHandle, MC_INFINITE_TIMEOUT))
791 mcRet = mcUnmap(&sessionHandle, (void*)keyData, &keyMapInfo);
798 mcRet = mcUnmap(&sessionHandle, (void*)plainData, &plainMapInfo);
805 mcRet = mcUnmap(&sessionHandle, (void*)signatureData, &signatureMapInfo);
825 TEE_Close(sessionHandle);
864 mcSessionHandle_t sessionHandle;
872 pTci = TEE_Open(&sessionHandle);
879 mcRet = mcMap(&sessionHandle, (void*)keyData, keyDataLength, &keyMapInfo);
885 mcRet = mcMap(&sessionHandle, (void*)soData, *soDataLength, &soMapInfo);
899 mcRet = mcNotify(&sessionHandle);
907 if (MC_DRV_OK != mcWaitNotification(&sessionHandle, MC_INFINITE_TIMEOUT))
914 mcRet = mcUnmap(&sessionHandle, (void*)keyData, &keyMapInfo);
921 mcRet = mcUnmap(&sessionHandle, (void*)soData, &soMapInfo);
942 TEE_Close(sessionHandle);
969 mcSessionHandle_t sessionHandle;
978 pTci = TEE_Open(&sessionHandle);
985 mcRet = mcMap(&sessionHandle, (void*)keyData, keyDataLength, &keyMapInfo);
991 mcRet = mcMap(&sessionHandle, (void*)modulus, *modulusLength, &modMapInfo);
997 mcRet = mcMap(&sessionHandle, (void*)exponent, *exponentLength, &expMapInfo);
1013 mcRet = mcNotify(&sessionHandle);
1021 if (MC_DRV_OK != mcWaitNotification(&sessionHandle, MC_INFINITE_TIMEOUT))
1028 mcRet = mcUnmap(&sessionHandle, (void*)keyData, &keyMapInfo);
1035 mcRet = mcUnmap(&sessionHandle, (void*)modulus, &modMapInfo);
1042 mcRet = mcUnmap(&sessionHandle, (void*)exponent, &expMapInfo);
1064 TEE_Close(sessionHandle);