#include "crypto/crypto.cpp"
#include "crypto-tests.h"
Go to the source code of this file.
◆ check_scalar()
Definition at line 36 of file crypto.cpp.
37 return sc_check(crypto::operator &(scalar)) == 0;
int sc_check(const unsigned char *)
◆ hash_to_ec()
Definition at line 54 of file crypto.cpp.
void hash_to_ec(const public_key &key, ge_p3 &res)
◆ hash_to_point()
Definition at line 48 of file crypto.cpp.
void ge_fromfe_frombytes_vartime(ge_p2 *, const unsigned char *)
◆ hash_to_scalar()
| void hash_to_scalar |
( |
const void * |
data, |
|
|
std::size_t |
length, |
|
|
crypto::ec_scalar & |
res |
|
) |
| |
Definition at line 44 of file crypto.cpp.
void hash_to_scalar(const void *data, size_t length, ec_scalar &res)
◆ random_scalar()
Definition at line 40 of file crypto.cpp.
void random_scalar(ec_scalar &res)