Rollback #if condition

This commit is contained in:
Takashi Kojo
2018-05-09 10:58:10 +09:00
parent ecd2e75564
commit 66e59e4a6a
2 changed files with 2 additions and 3 deletions

View File

@@ -55,17 +55,15 @@ void lm_copy(byte* x, const byte* a)
x[i] = a[i]; x[i] = a[i];
} }
#ifndef FREESCALE_LTC_ECC
#if ((defined(HAVE_CURVE25519) && !defined(CURVE25519_SMALL)) || \ #if ((defined(HAVE_CURVE25519) && !defined(CURVE25519_SMALL)) || \
(defined(HAVE_ED25519) && !defined(ED25519_SMALL))) && \ (defined(HAVE_ED25519) && !defined(ED25519_SMALL))) && \
!defined(FREESCALE_LTC_ECC) !defined(FREESCALE_LTC_ECC)
/* to be Complementary to fe_low_mem.c */ /* to be Complementary to fe_operations.c */
#else #else
void fe_init() void fe_init()
{ {
} }
#endif #endif
#endif
#ifdef CURVE25519_SMALL #ifdef CURVE25519_SMALL

View File

@@ -119,6 +119,7 @@ void fe_0(fe h)
#if ((defined(HAVE_CURVE25519) && !defined(CURVE25519_SMALL)) || \ #if ((defined(HAVE_CURVE25519) && !defined(CURVE25519_SMALL)) || \
(defined(HAVE_ED25519) && !defined(ED25519_SMALL))) && \ (defined(HAVE_ED25519) && !defined(ED25519_SMALL))) && \
!defined(FREESCALE_LTC_ECC) !defined(FREESCALE_LTC_ECC)
/* to be Complementary to fe_low_mem.c */
void fe_init() void fe_init()
{ {
} }