Skip to content

Commit

Permalink
Making so hw mutex define is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
night1rider committed Aug 23, 2024
1 parent 9f95e05 commit 1d4081c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wolfssl/wolfcrypt/wc_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,8 @@ WOLFSSL_LOCAL void wolfSSL_RefDec(wolfSSL_Ref* ref, int* isZero, int* err);

/* Enable crypt HW mutex for Freescale MMCAU, PIC32MZ or STM32 */
#if defined(FREESCALE_MMCAU) || defined(WOLFSSL_MICROCHIP_PIC32MZ) || \
defined(STM32_CRYPTO) || defined(STM32_HASH) || defined(STM32_RNG)
defined(STM32_CRYPTO) || defined(STM32_HASH) || defined(STM32_RNG) || \
defined(WOLFSSL_MAX3266X) || defined(WOLFSSL_MAX3266X_OLD)
#ifndef WOLFSSL_CRYPT_HW_MUTEX
#define WOLFSSL_CRYPT_HW_MUTEX 1
#endif
Expand Down

0 comments on commit 1d4081c

Please sign in to comment.