|
Monero
|
#include <cstddef>#include <cstring>#include <cstdint>#include <functional>#include <memory>#include <sodium/crypto_verify_32.h>#include <sodium/crypto_shorthash_siphash24.h>#include "random.h"

Go to the source code of this file.
Namespaces | |
| namespace | crypto |
| crypto namespace. | |
Macros | |
| #define | CRYPTO_MAKE_COMPARABLE(type) |
| #define | CRYPTO_MAKE_COMPARABLE_CONSTANT_TIME(type) |
| #define | CRYPTO_DEFINE_HASH_FUNCTIONS(type) |
| #define | CRYPTO_MAKE_HASHABLE(type) |
| #define | CRYPTO_MAKE_HASHABLE_CONSTANT_TIME(type) |
Functions | |
| std::size_t | crypto::siphash_to_size_t (const void *data, std::size_t length) |
| #define CRYPTO_DEFINE_HASH_FUNCTIONS | ( | type | ) |
| #define CRYPTO_MAKE_COMPARABLE | ( | type | ) |
| #define CRYPTO_MAKE_COMPARABLE_CONSTANT_TIME | ( | type | ) |
| #define CRYPTO_MAKE_HASHABLE | ( | type | ) |
| #define CRYPTO_MAKE_HASHABLE_CONSTANT_TIME | ( | type | ) |