minor fix (presumable, not worthy but anyway)

This commit is contained in:
sowle 2025-08-01 04:26:08 +03:00
parent ff6cbe2548
commit cc8ff1d5a3
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -11,7 +11,7 @@ bool check_scalar(const crypto::ec_scalar &scalar) {
}
void random_scalar(crypto::ec_scalar &res) {
crypto::random_scalar(res);
crypto::random_scalar_no_lock(res);
}
void hash_to_scalar(const void *data, std::size_t length, crypto::ec_scalar &res) {