mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
fix github issue #24, settings first before ifdef checks on 25519_fe files
This commit is contained in:
@ -22,6 +22,12 @@
|
||||
/* Based On Daniel J Bernstein's curve25519 Public Domain ref10 work. */
|
||||
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <wolfssl/wolfcrypt/settings.h>
|
||||
|
||||
#ifdef HAVE_ECC25519
|
||||
|
||||
#include <wolfssl/wolfcrypt/ecc25519_fe.h>
|
||||
|
@ -21,11 +21,13 @@
|
||||
|
||||
/* Based On Daniel J Bernstein's curve25519 Public Domain ref10 work. */
|
||||
|
||||
#ifdef HAVE_ECC25519
|
||||
#ifndef WOLF_CRYPT_ECC25519_FE_H
|
||||
#define WOLF_CRYPT_ECC25519_FE_H
|
||||
|
||||
#include <wolfssl/wolfcrypt/settings.h>
|
||||
|
||||
#ifdef HAVE_ECC25519
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef int32_t fe[10];
|
||||
@ -53,7 +55,7 @@ void fe_sq(fe,fe);
|
||||
void fe_mul121666(fe,fe);
|
||||
void fe_invert(fe,fe);
|
||||
|
||||
#endif
|
||||
|
||||
#endif /*HAVE_ECC25519*/
|
||||
#endif /* HAVE_ECC25519 */
|
||||
#endif /* include guard */
|
||||
|
||||
|
Reference in New Issue
Block a user