|
| static int | compare_hash32 (const MDB_val *a, const MDB_val *b) |
| |
| static int | compare_uint64 (const MDB_val *a, const MDB_val *b) |
| |
| static std::string | compress_ring (const std::vector< uint64_t > &ring) |
| |
| static std::vector< uint64_t > | decompress_ring (const std::string &s) |
| |
| std::string | get_rings_filename (boost::filesystem::path filename) |
| |
| static crypto::chacha_iv | make_iv (const crypto::key_image &key_image, const crypto::chacha_key &key) |
| |
| static std::string | encrypt (const std::string &plaintext, const crypto::key_image &key_image, const crypto::chacha_key &key) |
| |
| static std::string | encrypt (const crypto::key_image &key_image, const crypto::chacha_key &key) |
| |
| static std::string | decrypt (const std::string &ciphertext, const crypto::key_image &key_image, const crypto::chacha_key &key) |
| |
| static void | store_relative_ring (MDB_txn *txn, MDB_dbi &dbi, const crypto::key_image &key_image, const std::vector< uint64_t > &relative_ring, const crypto::chacha_key &chacha_key) |
| |
| static int | resize_env (MDB_env *env, const char *db_path, size_t needed) |
| |
| static size_t | get_ring_data_size (size_t n_entries) |
| |