From fa4da436553d9c38b61c553b9705587b54f27aa0 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Fri, 5 Feb 2016 14:09:43 -0700 Subject: [PATCH] Freescale: remove USER_TIME after recent time fixes, enable ECC and AES-GCM by default --- wolfssl/wolfcrypt/settings.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index 3d29abfd6..ab2afac84 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -658,19 +658,18 @@ static char *fgets(char *buff, int sz, FILE *fp) /* enable features */ #define USE_FAST_MATH + #define HAVE_ECC + #define HAVE_AESGCM /* memory reduction */ #define TFM_TIMING_RESISTANT + #define ECC_TIMING_RESISTANT + #define ALT_ECC_SIZE /* setting for PIT timer */ #define PIT_INSTANCE 0 #define PIT_CHANNEL 0 - /* CW GCC workaround. gmtime() is not available */ - #if defined(__GNUC__) - #define USER_TIME - #endif - #if defined(FREESCALE_KSDK_MQX) || defined(FREESCALE_KSDK_BM) || \ defined(FREESCALE_FREE_RTOS) #include "fsl_device_registers.h"