diff --git a/wolfcrypt/src/aes.c b/wolfcrypt/src/aes.c index 4a04488f8..e29b3a0b2 100644 --- a/wolfcrypt/src/aes.c +++ b/wolfcrypt/src/aes.c @@ -1435,7 +1435,7 @@ static void wc_AesDecrypt(Aes* aes, const byte* inBlock, byte* outBlock) static byte *secKey; static volatile SECdescriptorType *secDesc; - static CyaSSL_Mutex Mutex_AesSEC; + static wolfSSL_Mutex Mutex_AesSEC; #define SEC_DESC_AES_CBC_ENCRYPT 0x60300010 #define SEC_DESC_AES_CBC_DECRYPT 0x60200010 diff --git a/wolfcrypt/src/ecc.c b/wolfcrypt/src/ecc.c index dcb730d0a..fe1d062c9 100644 --- a/wolfcrypt/src/ecc.c +++ b/wolfcrypt/src/ecc.c @@ -2650,7 +2650,7 @@ static THREAD_LS_T fp_cache_t fp_cache[FP_ENTRIES]; #ifndef HAVE_THREAD_LS static volatile int initMutex = 0; /* prevent multiple mutex inits */ - static CyaSSL_Mutex ecc_fp_lock; + static wolfSSL_Mutex ecc_fp_lock; #endif /* HAVE_THREAD_LS */ /* simple table to help direct the generation of the LUT */