Skip to content

Commit

Permalink
Ed25519: don't define ASM functions when small
Browse files Browse the repository at this point in the history
Small builds don't allow ASM implementations.
Don't have functions defined for ASM  when building small
implementation.
  • Loading branch information
SparkiDev committed Aug 22, 2024
1 parent 08d8a74 commit 56adefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfssl/wolfcrypt/ge_operations.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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" */
Expand Down

0 comments on commit 56adefc

Please sign in to comment.