add macro blocks to make it easier on embedded devices and fix declaration after executable code

This commit is contained in:
Jacob Barthelmeh
2015-08-14 09:58:44 -06:00
parent 8cc9c62911
commit 0f9f4ea7e0
4 changed files with 10 additions and 3 deletions
+2
View File
@@ -27,6 +27,7 @@
#include <wolfssl/wolfcrypt/settings.h>
#ifndef CURVED25519_SMALL /* run when not defined to use small memory math */
#if defined(HAVE_ED25519) || defined(HAVE_CURVE25519)
#include <wolfssl/wolfcrypt/fe_operations.h>
@@ -1405,4 +1406,5 @@ void fe_cmov(fe f,const fe g,unsigned int b)
f[9] = f9 ^ x9;
}
#endif /* HAVE ED25519 or CURVE25519 */
#endif /* not defined CURVED25519_SMALL */