From 66e59e4a6a41614d5c18325da3daad317e8a303b Mon Sep 17 00:00:00 2001 From: Takashi Kojo Date: Wed, 9 May 2018 10:58:10 +0900 Subject: [PATCH] Rollback #if condition --- wolfcrypt/src/fe_low_mem.c | 4 +--- wolfcrypt/src/fe_operations.c | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/wolfcrypt/src/fe_low_mem.c b/wolfcrypt/src/fe_low_mem.c index d916d601d..f85181822 100644 --- a/wolfcrypt/src/fe_low_mem.c +++ b/wolfcrypt/src/fe_low_mem.c @@ -55,17 +55,15 @@ void lm_copy(byte* x, const byte* a) x[i] = a[i]; } -#ifndef FREESCALE_LTC_ECC #if ((defined(HAVE_CURVE25519) && !defined(CURVE25519_SMALL)) || \ (defined(HAVE_ED25519) && !defined(ED25519_SMALL))) && \ !defined(FREESCALE_LTC_ECC) - /* to be Complementary to fe_low_mem.c */ + /* to be Complementary to fe_operations.c */ #else void fe_init() { } #endif -#endif #ifdef CURVE25519_SMALL diff --git a/wolfcrypt/src/fe_operations.c b/wolfcrypt/src/fe_operations.c index a6d9c4e47..f7b5f0834 100644 --- a/wolfcrypt/src/fe_operations.c +++ b/wolfcrypt/src/fe_operations.c @@ -119,6 +119,7 @@ void fe_0(fe h) #if ((defined(HAVE_CURVE25519) && !defined(CURVE25519_SMALL)) || \ (defined(HAVE_ED25519) && !defined(ED25519_SMALL))) && \ !defined(FREESCALE_LTC_ECC) +/* to be Complementary to fe_low_mem.c */ void fe_init() { }