34 #if defined(__cplusplus) 42 #if defined(__cplusplus)
void hash_to_ec(const crypto::public_key &key, crypto::ec_point &res)
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)