Skip to content

Commit 56adefc

Browse files
committed
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.
1 parent 08d8a74 commit 56adefc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfssl/wolfcrypt/ge_operations.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ typedef struct {
112112
ge Z;
113113
ge T2d;
114114
} ge_cached;
115-
#endif /* !ED25519_SMALL */
116115

117116
#ifdef CURVED25519_ASM
118117
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);
124123
void ge_add(ge_p1p1 *r, const ge_p3 *p, const ge_cached *q);
125124
void ge_sub(ge_p1p1 *r, const ge_p3 *p, const ge_cached *q);
126125
#endif
126+
#endif /* !ED25519_SMALL */
127127

128128
#ifdef __cplusplus
129129
} /* extern "C" */

0 commit comments

Comments
 (0)