|
| static unsigned char * | operator& (ec_point &point) |
| |
| static const unsigned char * | operator& (const ec_point &point) |
| |
| static unsigned char * | operator& (ec_scalar &scalar) |
| |
| static const unsigned char * | operator& (const ec_scalar &scalar) |
| |
| void | generate_random_bytes_thread_safe (size_t N, uint8_t *bytes) |
| |
| static bool | less32 (const unsigned char *k0, const unsigned char *k1) |
| |
| void | random32_unbiased (unsigned char *bytes) |
| |
| void | random_scalar (ec_scalar &res) |
| |
| void | hash_to_scalar (const void *data, size_t length, ec_scalar &res) |
| |
| void | hash_to_ec (const public_key &key, ge_p3 &res) |
| |
| size_t | rs_comm_size (size_t pubs_count) |
| |
| void | rand (size_t N, uint8_t *bytes) |
| |
| template<typename T > |
| std::enable_if< std::is_pod< T >::value, T >::type | rand () |
| |
| template<typename T > |
| std::enable_if< std::is_integral< T >::value, T >::type | rand_range (T range_min, T range_max) |
| |
| template<typename T > |
| std::enable_if< std::is_unsigned< T >::value, T >::type | rand_idx (T sz) |
| |
| secret_key | generate_keys (public_key &pub, secret_key &sec, const secret_key &recovery_key=secret_key(), bool recover=false) |
| |
| bool | check_key (const public_key &key) |
| |
| bool | secret_key_to_public_key (const secret_key &sec, public_key &pub) |
| |
| bool | generate_key_derivation (const public_key &key1, const secret_key &key2, key_derivation &derivation) |
| |
| bool | derive_public_key (const key_derivation &derivation, std::size_t output_index, const public_key &base, public_key &derived_key) |
| |
| void | derivation_to_scalar (const key_derivation &derivation, size_t output_index, ec_scalar &res) |
| |
| void | derive_secret_key (const key_derivation &derivation, std::size_t output_index, const secret_key &base, secret_key &derived_key) |
| |
| bool | derive_subaddress_public_key (const public_key &out_key, const key_derivation &derivation, std::size_t output_index, public_key &result) |
| |
| void | generate_signature (const hash &prefix_hash, const public_key &pub, const secret_key &sec, signature &sig) |
| |
| bool | check_signature (const hash &prefix_hash, const public_key &pub, const signature &sig) |
| |
| void | generate_tx_proof (const hash &prefix_hash, const public_key &R, const public_key &A, const boost::optional< public_key > &B, const public_key &D, const secret_key &r, signature &sig) |
| |
| bool | check_tx_proof (const hash &prefix_hash, const public_key &R, const public_key &A, const boost::optional< public_key > &B, const public_key &D, const signature &sig) |
| |
| void | generate_key_image (const public_key &pub, const secret_key &sec, key_image &image) |
| |
| void | generate_ring_signature (const hash &prefix_hash, const key_image &image, const public_key *const *pubs, std::size_t pubs_count, const secret_key &sec, std::size_t sec_index, signature *sig) |
| |
| bool | check_ring_signature (const hash &prefix_hash, const key_image &image, const public_key *const *pubs, std::size_t pubs_count, const signature *sig) |
| |
| void | generate_ring_signature (const hash &prefix_hash, const key_image &image, const std::vector< const public_key * > &pubs, const secret_key &sec, std::size_t sec_index, signature *sig) |
| |
| bool | check_ring_signature (const hash &prefix_hash, const key_image &image, const std::vector< const public_key * > &pubs, const signature *sig) |
| |
| std::ostream & | operator<< (std::ostream &o, const crypto::public_key &v) |
| |
| std::ostream & | operator<< (std::ostream &o, const crypto::secret_key &v) |
| |
| std::ostream & | operator<< (std::ostream &o, const crypto::key_derivation &v) |
| |
| std::ostream & | operator<< (std::ostream &o, const crypto::key_image &v) |
| |
| std::ostream & | operator<< (std::ostream &o, const crypto::signature &v) |
| |
| std::string | sign_message (const std::string &message, const std::string &privateKey) |
| |
| bool | verify_signature (const std::string &message, const std::string &publicKey, const std::string &signature) |
| |
| bool | verify_signature (const std::string &message, std::vector< std::string > publicKey, const std::string &signature) |
| |
| std::vector< std::string > | create_ed25519_keypair () |
| |
| std::string | base64_decode (const std::string &val) |
| |
| std::string | base64_encode (const std::string &val) |
| |
| void | cn_fast_hash (const void *data, std::size_t length, hash &hash) |
| |
| hash | cn_fast_hash (const void *data, std::size_t length) |
| |
| void | cn_slow_hash (const void *data, std::size_t length, hash &hash, int variant=0, uint64_t height=0) |
| |
| void | cn_slow_hash_prehashed (const void *data, std::size_t length, hash &hash, int variant=0, uint64_t height=0) |
| |
| void | tree_hash (const hash *hashes, std::size_t count, hash &root_hash) |
| |
| std::ostream & | operator<< (std::ostream &o, const crypto::hash &v) |
| |
| std::ostream & | operator<< (std::ostream &o, const crypto::hash8 &v) |
| |
| std::ostream & | operator<< (std::ostream &o, const crypto::hash64 &v) |
| |