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.
pull/7891/head
Sean Parkinson 2024-08-22 17:05:26 +10:00
parent 08d8a74992
commit 56adefcdc5
1 changed files with 1 additions and 1 deletions

View File

@ -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" */