No need for ge_scalarmult_vartime() in minimal mode

This commit is contained in:
Frank Denis 2017-09-19 22:16:49 +02:00
parent 41dc933226
commit 3db75fc647

View File

@ -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 void
ge_scalarmult_vartime(ge_p3 *r, const unsigned char *a, const ge_p3 *A) 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 void
ge_scalarmult_base(ge_p3 *h, const unsigned char *a) ge_scalarmult_base(ge_p3 *h, const unsigned char *a)
{ {