Electroneum
rctSigs.cpp File Reference
Include dependency graph for rctSigs.cpp:

Go to the source code of this file.

Namespaces

 rct
 

Macros

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "ringct"
 
#define CHECK_AND_ASSERT_MES_L1(expr, ret, message)   {if(!(expr)) {MCERROR("verify", message); return ret;}}
 

Functions

Bulletproof rct::proveRangeBulletproof (keyV &C, keyV &masks, const std::vector< uint64_t > &amounts, epee::span< const key > sk, hw::device &hwdev)
 
bool rct::verBulletproof (const Bulletproof &proof)
 
bool rct::verBulletproof (const std::vector< const Bulletproof *> &proofs)
 
boroSig rct::genBorromean (const key64 x, const key64 P1, const key64 P2, const bits indices)
 
bool rct::verifyBorromean (const boroSig &bb, const ge_p3 P1[64], const ge_p3 P2[64])
 
bool rct::verifyBorromean (const boroSig &bb, const key64 P1, const key64 P2)
 
mgSig rct::MLSAG_Gen (const key &message, const keyM &pk, const keyV &xx, const multisig_kLRki *kLRki, key *mscout, const unsigned int index, size_t dsRows, hw::device &hwdev)
 
bool rct::MLSAG_Ver (const key &message, const keyM &pk, const mgSig &rv, size_t dsRows)
 
rangeSig rct::proveRange (key &C, key &mask, const etn_amount &amount)
 
bool rct::verRange (const key &C, const rangeSig &as)
 
key rct::get_pre_mlsag_hash (const rctSig &rv, hw::device &hwdev)
 
mgSig rct::proveRctMG (const key &message, const ctkeyM &pubs, const ctkeyV &inSk, const ctkeyV &outSk, const ctkeyV &outPk, const multisig_kLRki *kLRki, key *mscout, unsigned int index, const key &txnFeeKey, hw::device &hwdev)
 
mgSig rct::proveRctMGSimple (const key &message, const ctkeyV &pubs, const ctkey &inSk, const key &a, const key &Cout, const multisig_kLRki *kLRki, key *mscout, unsigned int index, hw::device &hwdev)
 
bool rct::verRctMG (const mgSig &mg, const ctkeyM &pubs, const ctkeyV &outPk, const key &txnFeeKey, const key &message)
 
bool rct::verRctMGSimple (const key &message, const mgSig &mg, const ctkeyV &pubs, const key &C)
 
void rct::getKeyFromBlockchain (ctkey &a, size_t reference_index)
 
tuple< ctkeyM, etn_amount > rct::populateFromBlockchain (ctkeyV inPk, int mixin)
 
etn_amount rct::populateFromBlockchainSimple (ctkeyV &mixRing, const ctkey &inPk, int mixin)
 
rctSig rct::genRct (const key &message, const ctkeyV &inSk, const keyV &destinations, const vector< etn_amount > &amounts, const ctkeyM &mixRing, const keyV &amount_keys, const multisig_kLRki *kLRki, multisig_out *msout, unsigned int index, ctkeyV &outSk, const RCTConfig &rct_config, hw::device &hwdev)
 
rctSig rct::genRct (const key &message, const ctkeyV &inSk, const ctkeyV &inPk, const keyV &destinations, const vector< etn_amount > &amounts, const keyV &amount_keys, const multisig_kLRki *kLRki, multisig_out *msout, const int mixin, const RCTConfig &rct_config, hw::device &hwdev)
 
rctSig rct::genRctSimple (const key &message, const ctkeyV &inSk, const keyV &destinations, const vector< etn_amount > &inamounts, const vector< etn_amount > &outamounts, etn_amount txnFee, const ctkeyM &mixRing, const keyV &amount_keys, const std::vector< multisig_kLRki > *kLRki, multisig_out *msout, const std::vector< unsigned int > &index, ctkeyV &outSk, const RCTConfig &rct_config, hw::device &hwdev)
 
rctSig rct::genRctSimple (const key &message, const ctkeyV &inSk, const ctkeyV &inPk, const keyV &destinations, const vector< etn_amount > &inamounts, const vector< etn_amount > &outamounts, const keyV &amount_keys, const std::vector< multisig_kLRki > *kLRki, multisig_out *msout, etn_amount txnFee, unsigned int mixin, const RCTConfig &rct_config, hw::device &hwdev)
 
bool rct::verRct (const rctSig &rv, bool semantics)
 
bool rct::verRctSemanticsSimple (const std::vector< const rctSig *> &rvv)
 
bool rct::verRctSemanticsSimple (const rctSig &rv)
 
bool rct::verRctNonSemanticsSimple (const rctSig &rv)
 
etn_amount rct::decodeRct (const rctSig &rv, const key &sk, unsigned int i, key &mask, hw::device &hwdev)
 
etn_amount rct::decodeRct (const rctSig &rv, const key &sk, unsigned int i, hw::device &hwdev)
 
etn_amount rct::decodeRctSimple (const rctSig &rv, const key &sk, unsigned int i, key &mask, hw::device &hwdev)
 
etn_amount rct::decodeRctSimple (const rctSig &rv, const key &sk, unsigned int i, hw::device &hwdev)
 
bool rct::signMultisig (rctSig &rv, const std::vector< unsigned int > &indices, const keyV &k, const multisig_out &msout, const key &secret_key)
 

Macro Definition Documentation

◆ CHECK_AND_ASSERT_MES_L1

#define CHECK_AND_ASSERT_MES_L1 (   expr,
  ret,
  message 
)    {if(!(expr)) {MCERROR("verify", message); return ret;}}

Definition at line 45 of file rctSigs.cpp.

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "ringct"

Definition at line 43 of file rctSigs.cpp.