Add Renesas CS+ project files.

This commit is contained in:
Go Hosohara
2018-05-07 14:49:43 +09:00
parent 5ff460bb7f
commit 36ced360cb
2 changed files with 7 additions and 3 deletions

View File

@ -44,3 +44,5 @@
#define HAVE_CURVE25519 #define HAVE_CURVE25519
#define CURVE25519_SMALL #define CURVE25519_SMALL
#define HAVE_ED25519 #define HAVE_ED25519
/* #define NO_WOLFSSL_STUB */

View File

@ -55,15 +55,17 @@ 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_operations.c */ /* to be Complementary to fe_low_mem.c */
#else #else
void fe_init() void fe_init()
{ {
} }
#endif #endif
#endif
#ifdef CURVE25519_SMALL #ifdef CURVE25519_SMALL