32 #include "crypto/crypto.cpp" 37 return sc_check(crypto::operator &(scalar)) == 0;
void hash_to_ec(const crypto::public_key &key, crypto::ec_point &res)
void ge_p3_tobytes(unsigned char *, const ge_p3 *)
void hash_to_ec(const public_key &key, ge_p3 &res)
int sc_check(const unsigned char *)
bool check_scalar(const crypto::ec_scalar &scalar)
void random_scalar(crypto::ec_scalar &res)
void hash_to_scalar(const void *data, std::size_t length, crypto::ec_scalar &res)
void hash_to_scalar(const void *data, size_t length, ec_scalar &res)
void random_scalar(ec_scalar &res)