mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-28 22:21:15 -07:00
No need for ge_scalarmult_vartime() in minimal mode
This commit is contained in:
parent
41dc933226
commit
3db75fc647
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user