![]() |
Bitcoin Core
0.21.1
P2P Digital Currency
|
#include <bench/bench.h>#include <crypto/chacha_poly_aead.h>#include <crypto/poly1305.h>#include <hash.h>#include <assert.h>#include <limits>Go to the source code of this file.
Variables | |
| static constexpr uint64_t | BUFFER_SIZE_TINY = 64 |
| static constexpr uint64_t | BUFFER_SIZE_SMALL = 256 |
| static constexpr uint64_t | BUFFER_SIZE_LARGE = 1024 * 1024 |
| static const unsigned char | k1 [32] = {0} |
| static const unsigned char | k2 [32] = {0} |
| static ChaCha20Poly1305AEAD | aead (k1, 32, k2, 32) |
| BENCHMARK | ( | CHACHA20_POLY1305_AEAD_64BYTES_ONLY_ENCRYPT | ) |
| BENCHMARK | ( | CHACHA20_POLY1305_AEAD_256BYTES_ONLY_ENCRYPT | ) |
| BENCHMARK | ( | CHACHA20_POLY1305_AEAD_1MB_ONLY_ENCRYPT | ) |
| BENCHMARK | ( | CHACHA20_POLY1305_AEAD_64BYTES_ENCRYPT_DECRYPT | ) |
| BENCHMARK | ( | CHACHA20_POLY1305_AEAD_256BYTES_ENCRYPT_DECRYPT | ) |
| BENCHMARK | ( | CHACHA20_POLY1305_AEAD_1MB_ENCRYPT_DECRYPT | ) |
| BENCHMARK | ( | HASH_64BYTES | ) |
| BENCHMARK | ( | HASH_256BYTES | ) |
| BENCHMARK | ( | HASH_1MB | ) |
|
static |
Definition at line 24 of file chacha_poly_aead.cpp.
|
static |
Definition at line 84 of file chacha_poly_aead.cpp.
|
static |
Definition at line 69 of file chacha_poly_aead.cpp.
|
static |
Definition at line 79 of file chacha_poly_aead.cpp.
|
static |
Definition at line 64 of file chacha_poly_aead.cpp.
|
static |
Definition at line 74 of file chacha_poly_aead.cpp.
|
static |
Definition at line 59 of file chacha_poly_aead.cpp.
|
static |
Definition at line 91 of file chacha_poly_aead.cpp.
|
static |
|
static |
Definition at line 105 of file chacha_poly_aead.cpp.
|
static |
Definition at line 100 of file chacha_poly_aead.cpp.
|
static |
|
static |
Definition at line 17 of file chacha_poly_aead.cpp.
|
static |
Definition at line 16 of file chacha_poly_aead.cpp.
|
static |
Definition at line 15 of file chacha_poly_aead.cpp.
|
static |
Definition at line 19 of file chacha_poly_aead.cpp.
|
static |
Definition at line 20 of file chacha_poly_aead.cpp.
1.8.11