Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <iostream>
#include <bench/bench.h>
#include <crypto/chacha_poly_aead.h>
#include <crypto/poly1305.h>
#include <hash.h>
#include <limits>
#include <assert.h>
Go to the source code of this file.
◆ BENCHMARK() [1/9]
◆ BENCHMARK() [2/9]
◆ BENCHMARK() [3/9]
◆ BENCHMARK() [4/9]
◆ BENCHMARK() [5/9]
◆ BENCHMARK() [6/9]
◆ BENCHMARK() [7/9]
◆ BENCHMARK() [8/9]
◆ BENCHMARK() [9/9]
◆ CHACHA20_POLY1305_AEAD()
static void CHACHA20_POLY1305_AEAD |
( |
benchmark::State & |
state, |
|
|
size_t |
buffersize, |
|
|
bool |
include_decryption |
|
) |
| |
|
static |
Definition at line 25 of file chacha_poly_aead.cpp.
References aead, CHACHA20_POLY1305_AEAD_AAD_LEN, CHACHA20_ROUND_OUTPUT, ChaCha20Poly1305AEAD::Crypt(), ChaCha20Poly1305AEAD::GetLength(), benchmark::State::KeepRunning(), and POLY1305_TAGLEN.
Referenced by CHACHA20_POLY1305_AEAD_1MB_ENCRYPT_DECRYPT(), CHACHA20_POLY1305_AEAD_1MB_ONLY_ENCRYPT(), CHACHA20_POLY1305_AEAD_256BYTES_ENCRYPT_DECRYPT(), CHACHA20_POLY1305_AEAD_256BYTES_ONLY_ENCRYPT(), CHACHA20_POLY1305_AEAD_64BYTES_ENCRYPT_DECRYPT(), and CHACHA20_POLY1305_AEAD_64BYTES_ONLY_ENCRYPT().
◆ CHACHA20_POLY1305_AEAD_1MB_ENCRYPT_DECRYPT()
static void CHACHA20_POLY1305_AEAD_1MB_ENCRYPT_DECRYPT |
( |
benchmark::State & |
state | ) |
|
|
static |
◆ CHACHA20_POLY1305_AEAD_1MB_ONLY_ENCRYPT()
◆ CHACHA20_POLY1305_AEAD_256BYTES_ENCRYPT_DECRYPT()
static void CHACHA20_POLY1305_AEAD_256BYTES_ENCRYPT_DECRYPT |
( |
benchmark::State & |
state | ) |
|
|
static |
◆ CHACHA20_POLY1305_AEAD_256BYTES_ONLY_ENCRYPT()
static void CHACHA20_POLY1305_AEAD_256BYTES_ONLY_ENCRYPT |
( |
benchmark::State & |
state | ) |
|
|
static |
◆ CHACHA20_POLY1305_AEAD_64BYTES_ENCRYPT_DECRYPT()
static void CHACHA20_POLY1305_AEAD_64BYTES_ENCRYPT_DECRYPT |
( |
benchmark::State & |
state | ) |
|
|
static |
◆ CHACHA20_POLY1305_AEAD_64BYTES_ONLY_ENCRYPT()
static void CHACHA20_POLY1305_AEAD_64BYTES_ONLY_ENCRYPT |
( |
benchmark::State & |
state | ) |
|
|
static |
◆ HASH()
◆ HASH_1MB()
◆ HASH_256BYTES()
◆ HASH_64BYTES()
◆ aead
◆ BUFFER_SIZE_LARGE
constexpr uint64_t BUFFER_SIZE_LARGE = 1024 * 1024 |
|
static |
◆ BUFFER_SIZE_SMALL
constexpr uint64_t BUFFER_SIZE_SMALL = 256 |
|
static |
◆ BUFFER_SIZE_TINY
constexpr uint64_t BUFFER_SIZE_TINY = 64 |
|
static |
◆ k1
const unsigned char k1[32] = {0} |
|
static |
Definition at line 20 of file chacha_poly_aead.cpp.
Referenced by SaltedHasherImpl< std::pair< uint256, N > >::CalcHash(), SaltedHasherImpl< std::pair< N, uint256 > >::CalcHash(), SaltedHasherImpl< uint256 >::CalcHash(), CSipHasher::CSipHasher(), llmq::CRecoveredSigsDb::GetRecoveredSigByHash(), MurmurHash3(), llmq::CRecoveredSigsDb::RemoveRecoveredSig(), SipHashUint256(), SipHashUint256Extra(), llmq::CRecoveredSigsDb::WriteRecoveredSig(), and llmq::CRecoveredSigsDb::WriteVoteForId().
◆ k2
const unsigned char k2[32] = {0} |
|
static |