Home
last modified time | relevance | path

Searched refs:CCAsymCryptoMutex (Results 1 – 8 of 8) sorted by relevance

/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/pal/freertos/
Dcc_pal.c21 extern CC_PalMutex CCAsymCryptoMutex;
60 rc = CC_PalMutexCreate(&CCAsymCryptoMutex); in CC_PalInit()
107 err = CC_PalMutexDestroy(&CCAsymCryptoMutex); in CC_PalTerminate()
113 CC_PalMemSetZero(&CCAsymCryptoMutex, sizeof(CC_PalMutex)); in CC_PalTerminate()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/pal/linux/
Dcc_pal.c20 extern CC_PalMutex CCAsymCryptoMutex;
75 rc = CC_PalMutexCreate(&CCAsymCryptoMutex); in CC_PalInit()
122 err = CC_PalMutexDestroy(&CCAsymCryptoMutex); in CC_PalTerminate()
126 CC_PalMemSetZero(&CCAsymCryptoMutex, sizeof(CC_PalMutex)); in CC_PalTerminate()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_mont/
Dec_mont.c27 extern CC_PalMutex CCAsymCryptoMutex;
50 err = CC_PalMutexLock(&CCAsymCryptoMutex, CC_INFINITE); in EcMontScalarmult()
59 if (CC_PalMutexUnlock(&CCAsymCryptoMutex) != CC_SUCCESS) { in EcMontScalarmult()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/cc_mng/
Dmbedtls_cc_mng.c26 extern CC_PalMutex CCAsymCryptoMutex;
258 if (CC_PalMutexLock(&CCAsymCryptoMutex, CC_INFINITE) != 0) { in mbedtls_mng_cc_sec_mode_set()
307 if (CC_PalMutexUnlock(&CCAsymCryptoMutex) != 0) { in mbedtls_mng_cc_sec_mode_set()
337 if (CC_PalMutexLock(&CCAsymCryptoMutex, CC_INFINITE) != 0) { in mbedtls_mng_cc_priv_mode_set()
386 if (CC_PalMutexUnlock(&CCAsymCryptoMutex) != 0) { in mbedtls_mng_cc_priv_mode_set()
746 if (CC_PalMutexLock(&CCAsymCryptoMutex, CC_INFINITE) != 0) { in mbedtls_mng_suspend()
786 if (CC_PalMutexUnlock(&CCAsymCryptoMutex) != 0) { in mbedtls_mng_suspend()
823 if (CC_PalMutexUnlock(&CCAsymCryptoMutex) != 0) { in mbedtls_mng_resume()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dec_edw.c36 extern CC_PalMutex CCAsymCryptoMutex;
68 err = CC_PalMutexLock(&CCAsymCryptoMutex, CC_INFINITE); in EcEdwSeedKeyPair()
77 if (CC_PalMutexUnlock(&CCAsymCryptoMutex) != CC_SUCCESS) { in EcEdwSeedKeyPair()
419 err = CC_PalMutexLock(&CCAsymCryptoMutex, CC_INFINITE); in EcEdwSign()
428 if (CC_PalMutexUnlock(&CCAsymCryptoMutex) != CC_SUCCESS) { in EcEdwSign()
694 err = CC_PalMutexLock(&CCAsymCryptoMutex, CC_INFINITE); in EcEdwSignVerify()
703 if (CC_PalMutexUnlock(&CCAsymCryptoMutex) != CC_SUCCESS) { in EcEdwSignVerify()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/
Dsbrt_int_func.c34 extern CC_PalMutex CCAsymCryptoMutex;
138 error = CC_PalMutexLock(&CCAsymCryptoMutex, CC_INFINITE); in SBRT_RSA_PSS_Verify()
164 if (CC_PalMutexUnlock(&CCAsymCryptoMutex) != 0) { in SBRT_RSA_PSS_Verify()
Dcc_lib.c37 CC_PalMutex CCAsymCryptoMutex; variable
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpka.c23 extern CC_PalMutex CCAsymCryptoMutex;
361 err = CC_PalMutexLock(&CCAsymCryptoMutex, CC_INFINITE); in PkaInitAndMutexLock()
391 if (CC_PalMutexUnlock(&CCAsymCryptoMutex) != 0) { in PkaInitAndMutexLock()
424 if (CC_PalMutexUnlock(&CCAsymCryptoMutex) != CC_SUCCESS) { in PkaFinishAndMutexUnlock()