|
Monero
|
#include <cassert>#include <iomanip>#include "utility.hpp"#include "../bytecode_machine.hpp"#include "../dataset.hpp"#include "../blake2/endian.h"#include "../blake2/blake2.h"#include "../blake2_generator.hpp"#include "../superscalar.hpp"#include "../reciprocal.h"#include "../intrin_portable.h"#include "../jit_compiler.hpp"#include "../aes_hash.hpp"
Functions | |
| template<size_t N> | |
| void | initCache (const char(&key)[N]) |
| template<size_t K, size_t H> | |
| void | calcStringHash (const char(&key)[K], const char(&input)[H], void *output) |
| template<size_t K, size_t H> | |
| void | calcStringCommitment (const char(&key)[K], const char(&input)[H], void *output) |
| template<size_t K, size_t H> | |
| void | calcHexHash (const char(&key)[K], const char(&hex)[H], void *output) |
| template<typename FUNC> | |
| void | runTest (const char *name, bool condition, FUNC f) |
| int | main () |
Variables | |
| randomx_cache * | cache |
| randomx_vm * | vm = nullptr |
| int | testNo = 0 |
| int | skipped = 0 |
| void calcHexHash | ( | const char(&) | key[K], |
| const char(&) | hex[H], | ||
| void * | output ) |
| void calcStringCommitment | ( | const char(&) | key[K], |
| const char(&) | input[H], | ||
| void * | output ) |
| void calcStringHash | ( | const char(&) | key[K], |
| const char(&) | input[H], | ||
| void * | output ) |
| void initCache | ( | const char(&) | key[N] | ) |
| int main | ( | void | ) |
| void runTest | ( | const char * | name, |
| bool | condition, | ||
| FUNC | f ) |
| randomx_cache* cache |
| int skipped = 0 |
| int testNo = 0 |
| randomx_vm* vm = nullptr |