diff --git a/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c b/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c index 40e0a1b4..9375274d 100644 --- a/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c +++ b/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c @@ -1804,6 +1804,10 @@ ge_double_scalarmult_vartime(ge_p2 *r, const unsigned char *a, const ge_p3 *A, } } +#ifndef MINIMAL + +/* only used for verification of legacy (edwards25519sha512batch) signatures */ + void ge_scalarmult_vartime(ge_p3 *r, const unsigned char *a, const ge_p3 *A) { @@ -1863,6 +1867,8 @@ ge_scalarmult_vartime(ge_p3 *r, const unsigned char *a, const ge_p3 *A) } } +#endif + void ge_scalarmult_base(ge_p3 *h, const unsigned char *a) {