Monero
Loading...
Searching...
No Matches
rctOps.cpp File Reference
#include <boost/lexical_cast.hpp>
#include "misc_log_ex.h"
#include "cryptonote_basic/cryptonote_format_utils.h"
#include "rctOps.h"
Include dependency graph for rctOps.cpp:

Classes

struct  zero_commitment

Namespaces

namespace  rct

Macros

#define MONERO_DEFAULT_LOG_CATEGORY   "ringct"
#define CHECK_AND_ASSERT_THROW_MES_L1(expr, message)

Functions

keyM rct::keyMInit (size_t rows, size_t cols)
bool rct::toPointCheckOrder (ge_p3 *P, const unsigned char *data)
void rct::skGen (key &sk)
key rct::skGen ()
keyV rct::skvGen (size_t rows)
key rct::pkGen ()
void rct::skpkGen (key &sk, key &pk)
tuple< key, keyrct::skpkGen ()
void rct::genC (key &C, const key &a, xmr_amount amount)
tuple< ctkey, ctkeyrct::ctskpkGen (xmr_amount amount)
tuple< ctkey, ctkeyrct::ctskpkGen (const key &bH)
key rct::zeroCommit (xmr_amount amount)
key rct::commit (xmr_amount amount, const key &mask)
xmr_amount rct::randXmrAmount (xmr_amount upperlimit)
void rct::scalarmultBase (key &aG, const key &a)
key rct::scalarmultBase (const key &a)
void rct::scalarmultKey (key &aP, const key &P, const key &a)
key rct::scalarmultKey (const key &P, const key &a)
key rct::scalarmultH (const key &a)
key rct::scalarmult8 (const key &P)
void rct::scalarmult8 (ge_p3 &res, const key &P)
bool rct::isInMainSubgroup (const key &A)
void rct::addKeys (key &AB, const key &A, const key &B)
rct::key rct::addKeys (const key &A, const key &B)
rct::key rct::addKeys (const keyV &A)
void rct::addKeys1 (key &aGB, const key &a, const key &B)
void rct::addKeys2 (key &aGbB, const key &a, const key &b, const key &B)
void rct::precomp (ge_dsmp rv, const key &B)
void rct::addKeys3 (key &aAbB, const key &a, const key &A, const key &b, const ge_dsmp B)
void rct::addKeys3 (key &aAbB, const key &a, const ge_dsmp A, const key &b, const ge_dsmp B)
void rct::addKeys_aGbBcC (key &aGbBcC, const key &a, const key &b, const ge_dsmp B, const key &c, const ge_dsmp C)
void rct::addKeys_aAbBcC (key &aAbBcC, const key &a, const ge_dsmp A, const key &b, const ge_dsmp B, const key &c, const ge_dsmp C)
void rct::subKeys (key &AB, const key &A, const key &B)
bool rct::equalKeys (const key &a, const key &b)
void rct::cn_fast_hash (key &hash, const void *data, const std::size_t l)
void rct::hash_to_scalar (key &hash, const void *data, const std::size_t l)
void rct::cn_fast_hash (key &hash, const key &in)
void rct::hash_to_scalar (key &hash, const key &in)
key rct::cn_fast_hash (const key &in)
key rct::hash_to_scalar (const key &in)
key rct::cn_fast_hash128 (const void *in)
key rct::hash_to_scalar128 (const void *in)
key rct::cn_fast_hash (const ctkeyV &PC)
key rct::hash_to_scalar (const ctkeyV &PC)
key rct::cn_fast_hash (const keyV &keys)
key rct::hash_to_scalar (const keyV &keys)
key rct::cn_fast_hash (const key64 keys)
key rct::hash_to_scalar (const key64 keys)
void rct::hash_to_p3 (ge_p3 &hash8_p3, const key &k)
void rct::sumKeys (key &Csum, const keyV &Cis)
static key rct::ecdhHash (const key &k)
static void rct::xor8 (key &v, const key &k)
key rct::genCommitmentMask (const key &sk)
void rct::ecdhEncode (ecdhTuple &unmasked, const key &sharedSec, bool v2)
void rct::ecdhDecode (ecdhTuple &masked, const key &sharedSec, bool v2)

Variables

static const zero_commitment zero_commitments []

Macro Definition Documentation

◆ CHECK_AND_ASSERT_THROW_MES_L1

#define CHECK_AND_ASSERT_THROW_MES_L1 ( expr,
message )
Value:
{if(!(expr)) {MWARNING(message); throw std::runtime_error(message);}}

◆ MONERO_DEFAULT_LOG_CATEGORY

#define MONERO_DEFAULT_LOG_CATEGORY   "ringct"

Variable Documentation

◆ zero_commitments

const zero_commitment zero_commitments[]
static