Monero
Loading...
Searching...
No Matches
crypto.cpp File Reference
#include "crypto/crypto.cpp"
#include "crypto-tests.h"
Include dependency graph for crypto.cpp:

Functions

static void get_ge_p3_for_identity_test (const crypto::public_key &point, crypto::ge_p3 &result_out_p3)
static int ge_p3_is_point_at_infinity_vartime_bad (const crypto::ge_p3 *p)
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_point (const crypto::hash &h, crypto::ec_point &res)
void hash_to_ec (const crypto::public_key &key, crypto::ec_point &res)
bool check_ge_p3_identity_failure (const crypto::public_key &point)
bool check_ge_p3_identity_success (const crypto::public_key &point)

Function Documentation

◆ check_ge_p3_identity_failure()

bool check_ge_p3_identity_failure ( const crypto::public_key & point)

◆ check_ge_p3_identity_success()

bool check_ge_p3_identity_success ( const crypto::public_key & point)

◆ check_scalar()

bool check_scalar ( const crypto::ec_scalar & scalar)

◆ ge_p3_is_point_at_infinity_vartime_bad()

int ge_p3_is_point_at_infinity_vartime_bad ( const crypto::ge_p3 * p)
static

◆ get_ge_p3_for_identity_test()

void get_ge_p3_for_identity_test ( const crypto::public_key & point,
crypto::ge_p3 & result_out_p3 )
static

◆ hash_to_ec()

void hash_to_ec ( const crypto::public_key & key,
crypto::ec_point & res )

◆ hash_to_point()

void hash_to_point ( const crypto::hash & h,
crypto::ec_point & res )

◆ hash_to_scalar()

void hash_to_scalar ( const void * data,
std::size_t length,
crypto::ec_scalar & res )

◆ random_scalar()

void random_scalar ( crypto::ec_scalar & res)