fix github issue #12, cyassl_mutex leftovers
This commit is contained in:
parent
8ee361a0d4
commit
6d691e1b9f
@ -1435,7 +1435,7 @@ static void wc_AesDecrypt(Aes* aes, const byte* inBlock, byte* outBlock)
|
|||||||
static byte *secKey;
|
static byte *secKey;
|
||||||
static volatile SECdescriptorType *secDesc;
|
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_ENCRYPT 0x60300010
|
||||||
#define SEC_DESC_AES_CBC_DECRYPT 0x60200010
|
#define SEC_DESC_AES_CBC_DECRYPT 0x60200010
|
||||||
|
@ -2650,7 +2650,7 @@ static THREAD_LS_T fp_cache_t fp_cache[FP_ENTRIES];
|
|||||||
|
|
||||||
#ifndef HAVE_THREAD_LS
|
#ifndef HAVE_THREAD_LS
|
||||||
static volatile int initMutex = 0; /* prevent multiple mutex inits */
|
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 */
|
#endif /* HAVE_THREAD_LS */
|
||||||
|
|
||||||
/* simple table to help direct the generation of the LUT */
|
/* simple table to help direct the generation of the LUT */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user