Merge pull request #8977 from BridgerVoss/new_settings

FREESCALE forced algorithm HAVE_ECC moved to IDE/MQX/user_settings.h
This commit is contained in:
JacobBarthelmeh
2025-07-14 09:05:56 -06:00
committed by GitHub
2 changed files with 11 additions and 15 deletions

View File

@@ -59,3 +59,14 @@
#define FREESCALE_MQX
#define FREESCALE_NO_RNG
/* FREESCALE forced-on algorithms - moved from settings.h */
#ifndef NO_AES
#undef HAVE_AESCCM
#define HAVE_AESCCM
#undef HAVE_AESGCM
#define HAVE_AESGCM
#undef WOLFSSL_AES_COUNTER
#define WOLFSSL_AES_COUNTER
#undef WOLFSSL_AES_DIRECT
#define WOLFSSL_AES_DIRECT
#endif

View File

@@ -1901,21 +1901,6 @@ extern void uITRON4_free(void *p) ;
#define TFM_TIMING_RESISTANT
#define ECC_TIMING_RESISTANT
#undef HAVE_ECC
#ifndef WOLFCRYPT_FIPS_RAND
#define HAVE_ECC
#endif
#ifndef NO_AES
#undef HAVE_AESCCM
#define HAVE_AESCCM
#undef HAVE_AESGCM
#define HAVE_AESGCM
#undef WOLFSSL_AES_COUNTER
#define WOLFSSL_AES_COUNTER
#undef WOLFSSL_AES_DIRECT
#define WOLFSSL_AES_DIRECT
#endif
#ifdef FREESCALE_KSDK_1_3
#include "fsl_device_registers.h"
#elif !defined(FREESCALE_MQX)