|
Monero
|
#include <new>#include <algorithm>#include <stdexcept>#include <cstring>#include <limits>#include <cassert>#include "common.hpp"#include "dataset.hpp"#include "virtual_memory.h"#include "superscalar.hpp"#include "blake2_generator.hpp"#include "reciprocal.h"#include "blake2/endian.h"#include "argon2.h"#include "argon2_core.h"#include "jit_compiler.hpp"#include "intrin_portable.h"
Namespaces | |
| namespace | randomx |
Functions | |
| template<class Allocator> | |
| void | randomx::deallocCache (randomx_cache *cache) |
| template void | randomx::deallocCache< DefaultAllocator > (randomx_cache *cache) |
| template void | randomx::deallocCache< LargePageAllocator > (randomx_cache *cache) |
| void | randomx::initCache (randomx_cache *cache, const void *key, size_t keySize) |
| void | randomx::initCacheCompile (randomx_cache *cache, const void *key, size_t keySize) |
| static uint8_t * | randomx::getMixBlock (uint64_t registerValue, uint8_t *memory) |
| void | randomx::initDatasetItem (randomx_cache *cache, uint8_t *out, uint64_t itemNumber) |
| void | randomx::initDataset (randomx_cache *cache, uint8_t *dataset, uint32_t startItem, uint32_t endItem) |
Variables | |
| constexpr uint64_t | randomx::superscalarMul0 = 6364136223846793005ULL |
| constexpr uint64_t | randomx::superscalarAdd1 = 9298411001130361340ULL |
| constexpr uint64_t | randomx::superscalarAdd2 = 12065312585734608966ULL |
| constexpr uint64_t | randomx::superscalarAdd3 = 9306329213124626780ULL |
| constexpr uint64_t | randomx::superscalarAdd4 = 5281919268842080866ULL |
| constexpr uint64_t | randomx::superscalarAdd5 = 10536153434571861004ULL |
| constexpr uint64_t | randomx::superscalarAdd6 = 3398623926847679864ULL |
| constexpr uint64_t | randomx::superscalarAdd7 = 9549104520008361294ULL |