mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-07 03:00:48 +02:00
add macro blocks to make it easier on embedded devices and fix declaration after executable code
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user