From 56adefcdc56d1e21598339d2150b63f3e6a4c94a Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Thu, 22 Aug 2024 17:05:26 +1000 Subject: [PATCH] Ed25519: don't define ASM functions when small Small builds don't allow ASM implementations. Don't have functions defined for ASM when building small implementation. --- wolfssl/wolfcrypt/ge_operations.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/ge_operations.h b/wolfssl/wolfcrypt/ge_operations.h index dd70d3bb59..75d4b07f94 100644 --- a/wolfssl/wolfcrypt/ge_operations.h +++ b/wolfssl/wolfcrypt/ge_operations.h @@ -112,7 +112,6 @@ typedef struct { ge Z; ge T2d; } ge_cached; -#endif /* !ED25519_SMALL */ #ifdef CURVED25519_ASM void ge_p1p1_to_p2(ge_p2 *r, const ge_p1p1 *p); @@ -124,6 +123,7 @@ void ge_msub(ge_p1p1 *r, const ge_p3 *p, const ge_precomp *q); void ge_add(ge_p1p1 *r, const ge_p3 *p, const ge_cached *q); void ge_sub(ge_p1p1 *r, const ge_p3 *p, const ge_cached *q); #endif +#endif /* !ED25519_SMALL */ #ifdef __cplusplus } /* extern "C" */