|
| template<class Archive, class T> |
| std::enable_if_t< is_blob_type< T >::type::value, bool > | crypto::do_serialize (Archive &ar, T &v) |
| | main function for dispatching serialization for a given pair of archive and value types
|
| template<class Archive, class T> |
| std::enable_if_t< boost::is_integral< T >::value, bool > | crypto::do_serialize (Archive &ar, T &v) |
| template<class Archive, class T> |
| auto | crypto::do_serialize (Archive &ar, T &v) -> decltype(v.member_do_serialize(ar), true) |
| template<class Archive> |
| bool | crypto::do_serialize (Archive &ar, bool &v) |
| template<typename T> |
| void | crypto::serialization::detail::prepare_custom_vector_serialization (size_t size, std::vector< T > &vec, const boost::mpl::bool_< true > &) |
| template<typename T> |
| void | crypto::serialization::detail::prepare_custom_vector_serialization (size_t size, std::vector< T > &vec, const boost::mpl::bool_< false > &) |
| template<class Archive> |
| bool | crypto::serialization::detail::do_check_stream_state (Archive &ar, boost::mpl::bool_< true >, bool noeof) |
| template<class Archive> |
| bool | crypto::serialization::detail::do_check_stream_state (Archive &ar, boost::mpl::bool_< false >, bool noeof) |
| template<class Archive> |
| bool | crypto::serialization::check_stream_state (Archive &ar, bool noeof=false) |
| template<class Archive, class T> |
| bool | crypto::serialization::serialize (Archive &ar, T &v) |
| template<class Archive, class T> |
| bool | crypto::serialization::serialize_noeof (Archive &ar, T &v) |
| template<template< bool > class Archive> |
| bool | crypto::do_serialize (Archive< false > &ar, std::string &str) |
| template<template< bool > class Archive> |
| bool | crypto::do_serialize (Archive< true > &ar, std::string &str) |
| static uint32_t | crypto::rol32 (uint32_t x, int r) |
| static uint64_t | crypto::rol64 (uint64_t x, int r) |
| static uint64_t | crypto::hi_dword (uint64_t val) |
| static uint64_t | crypto::lo_dword (uint64_t val) |
| static uint64_t | crypto::mul128 (uint64_t multiplier, uint64_t multiplicand, uint64_t *product_hi) |
| static uint64_t | crypto::div_with_reminder (uint64_t dividend, uint32_t divisor, uint32_t *remainder) |
| static uint32_t | crypto::div128_32 (uint64_t dividend_hi, uint64_t dividend_lo, uint32_t divisor, uint64_t *quotient_hi, uint64_t *quotient_lo) |
| void | crypto::div128_64 (uint64_t dividend_hi, uint64_t dividend_lo, uint64_t divisor, uint64_t *quotient_hi, uint64_t *quotient_lo, uint64_t *remainder_hi, uint64_t *remainder_lo) |
| static void | crypto::add64clamp (uint64_t *value, uint64_t add) |
| static void | crypto::sub64clamp (uint64_t *value, uint64_t sub) |
| static uint16_t | crypto::ident16 (uint16_t x) |
| static uint32_t | crypto::ident32 (uint32_t x) |
| static uint64_t | crypto::ident64 (uint64_t x) |
| static uint16_t | crypto::swap16 (uint16_t x) |
| static uint32_t | crypto::swap32 (uint32_t x) |
| static uint64_t | crypto::swap64 (uint64_t x) |
| static void | crypto::mem_inplace_ident (void *mem UNUSED, size_t n UNUSED) |
| static void | crypto::mem_inplace_swap16 (void *mem, size_t n) |
| static void | crypto::mem_inplace_swap32 (void *mem, size_t n) |
| static void | crypto::mem_inplace_swap64 (void *mem, size_t n) |
| static void | crypto::memcpy_ident16 (void *dst, const void *src, size_t n) |
| static void | crypto::memcpy_ident32 (void *dst, const void *src, size_t n) |
| static void | crypto::memcpy_ident64 (void *dst, const void *src, size_t n) |
| static void | crypto::memcpy_swap16 (void *dst, const void *src, size_t n) |
| static void | crypto::memcpy_swap32 (void *dst, const void *src, size_t n) |
| static void | crypto::memcpy_swap64 (void *dst, const void *src, size_t n) |
| static void * | crypto::padd (void *p, size_t i) |
| static const void * | crypto::cpadd (const void *p, size_t i) |
| static void | crypto::place_length (uint8_t *buffer, size_t bufsize, size_t length) |
| void | crypto::hash_permutation (union hash_state *state) |
| void | crypto::hash_process (union hash_state *state, const uint8_t *buf, size_t count) |
| void | crypto::cn_fast_hash (const void *data, size_t length, char *hash) |
| void | crypto::cn_slow_hash (const void *data, size_t length, char *hash, int variant, int prehashed, uint64_t height) |
| void | crypto::hash_extra_blake (const void *data, size_t length, char *hash) |
| void | crypto::hash_extra_groestl (const void *data, size_t length, char *hash) |
| void | crypto::hash_extra_jh (const void *data, size_t length, char *hash) |
| void | crypto::hash_extra_skein (const void *data, size_t length, char *hash) |
| void | crypto::tree_hash (const char(*hashes)[HASH_SIZE], size_t count, char *root_hash) |
| bool | crypto::tree_path (size_t count, size_t idx, uint32_t *path) |
| bool | crypto::tree_branch (const char(*hashes)[HASH_SIZE], size_t count, const char *hash, char(*branch)[HASH_SIZE], size_t *depth, uint32_t *path) |
| bool | crypto::tree_branch_hash (const char hash[HASH_SIZE], const char(*branch)[HASH_SIZE], size_t depth, uint32_t path, char root[HASH_SIZE]) |
| bool | crypto::is_branch_in_tree (const char hash[HASH_SIZE], const char root[HASH_SIZE], const char(*branch)[HASH_SIZE], size_t depth, uint32_t path) |
| void | crypto::rx_slow_hash_allocate_state (void) |
| void | crypto::rx_slow_hash_free_state (void) |
| uint64_t | crypto::rx_seedheight (const uint64_t height) |
| void | crypto::rx_seedheights (const uint64_t height, uint64_t *seed_height, uint64_t *next_height) |
| void | crypto::rx_set_main_seedhash (const char *seedhash, size_t max_dataset_init_threads) |
| void | crypto::rx_slow_hash (const char *seedhash, const void *data, size_t length, char *result_hash) |
| void | crypto::rx_set_miner_thread (uint32_t value, size_t max_dataset_init_threads) |
| uint32_t | crypto::rx_get_miner_thread (void) |
| void | crypto::cn_fast_hash (const void *data, std::size_t length, hash &hash) |
| hash | crypto::cn_fast_hash (const void *data, std::size_t length) |
| static constexpr void | crypto::cn_variant1_check (const std::size_t length, const int variant) |
| void | crypto::cn_slow_hash (const void *data, std::size_t length, hash &hash, int variant=0, uint64_t height=0) |
| void | crypto::cn_slow_hash_prehashed (const void *data, std::size_t length, hash &hash, int variant=0, uint64_t height=0) |
| void | crypto::tree_hash (const hash *hashes, std::size_t count, hash &root_hash) |
| std::ostream & | crypto::operator<< (std::ostream &o, const crypto::hash &v) |
| std::ostream & | crypto::operator<< (std::ostream &o, const crypto::hash8 &v) |