forked from wolfSSL/wolfssl
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.
This commit is contained in:
@@ -112,7 +112,6 @@ typedef struct {
|
|||||||
ge Z;
|
ge Z;
|
||||||
ge T2d;
|
ge T2d;
|
||||||
} ge_cached;
|
} ge_cached;
|
||||||
#endif /* !ED25519_SMALL */
|
|
||||||
|
|
||||||
#ifdef CURVED25519_ASM
|
#ifdef CURVED25519_ASM
|
||||||
void ge_p1p1_to_p2(ge_p2 *r, const ge_p1p1 *p);
|
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_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);
|
void ge_sub(ge_p1p1 *r, const ge_p3 *p, const ge_cached *q);
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* !ED25519_SMALL */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
|
Reference in New Issue
Block a user