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/ |
D | cc_pal.c | 21 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/ |
D | cc_pal.c | 20 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/ |
D | ec_mont.c | 27 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/ |
D | mbedtls_cc_mng.c | 26 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/ |
D | ec_edw.c | 36 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/ |
D | sbrt_int_func.c | 34 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()
|
D | cc_lib.c | 37 CC_PalMutex CCAsymCryptoMutex; variable
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/ |
D | pka.c | 23 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()
|