![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <bench/bench.h>#include <crypto/chacha20.h>#include <crypto/chacha20poly1305.h>#include <span.h>#include <cstddef>#include <cstdint>#include <vector>Go to the source code of this file.
Functions | |
| static void | CHACHA20 (benchmark::Bench &bench, size_t buffersize) |
| static void | FSCHACHA20POLY1305 (benchmark::Bench &bench, size_t buffersize) |
| static void | CHACHA20_64BYTES (benchmark::Bench &bench) |
| static void | CHACHA20_256BYTES (benchmark::Bench &bench) |
| static void | CHACHA20_1MB (benchmark::Bench &bench) |
| static void | FSCHACHA20POLY1305_64BYTES (benchmark::Bench &bench) |
| static void | FSCHACHA20POLY1305_256BYTES (benchmark::Bench &bench) |
| static void | FSCHACHA20POLY1305_1MB (benchmark::Bench &bench) |
| BENCHMARK (CHACHA20_64BYTES, benchmark::PriorityLevel::HIGH) | |
| BENCHMARK (CHACHA20_256BYTES, benchmark::PriorityLevel::HIGH) | |
| BENCHMARK (CHACHA20_1MB, benchmark::PriorityLevel::HIGH) | |
| BENCHMARK (FSCHACHA20POLY1305_64BYTES, benchmark::PriorityLevel::HIGH) | |
| BENCHMARK (FSCHACHA20POLY1305_256BYTES, benchmark::PriorityLevel::HIGH) | |
| BENCHMARK (FSCHACHA20POLY1305_1MB, benchmark::PriorityLevel::HIGH) | |
Variables | |
| static const uint64_t | BUFFER_SIZE_TINY = 64 |
| static const uint64_t | BUFFER_SIZE_SMALL = 256 |
| static const uint64_t | BUFFER_SIZE_LARGE = 1024*1024 |
| BENCHMARK | ( | CHACHA20_1MB | , |
| benchmark::PriorityLevel::HIGH | |||
| ) |
| BENCHMARK | ( | CHACHA20_256BYTES | , |
| benchmark::PriorityLevel::HIGH | |||
| ) |
| BENCHMARK | ( | CHACHA20_64BYTES | , |
| benchmark::PriorityLevel::HIGH | |||
| ) |
| BENCHMARK | ( | FSCHACHA20POLY1305_1MB | , |
| benchmark::PriorityLevel::HIGH | |||
| ) |
| BENCHMARK | ( | FSCHACHA20POLY1305_256BYTES | , |
| benchmark::PriorityLevel::HIGH | |||
| ) |
| BENCHMARK | ( | FSCHACHA20POLY1305_64BYTES | , |
| benchmark::PriorityLevel::HIGH | |||
| ) |
|
static |
Definition at line 20 of file chacha20.cpp.
|
static |
|
static |
|
static |
|
static |
Definition at line 32 of file chacha20.cpp.
|
static |
|
static |
|
static |
|
static |
Definition at line 18 of file chacha20.cpp.
|
static |
Definition at line 17 of file chacha20.cpp.
|
static |
Definition at line 16 of file chacha20.cpp.