Bitcoin Core  0.19.99
P2P Digital Currency
Functions | Variables
poly1305.cpp File Reference
#include <bench/bench.h>
#include <crypto/poly1305.h>
Include dependency graph for poly1305.cpp:

Go to the source code of this file.

Functions

static void POLY1305 (benchmark::State &state, size_t buffersize)
 
static void POLY1305_64BYTES (benchmark::State &state)
 
static void POLY1305_256BYTES (benchmark::State &state)
 
static void POLY1305_1MB (benchmark::State &state)
 
 BENCHMARK (POLY1305_64BYTES, 500000)
 
 BENCHMARK (POLY1305_256BYTES, 250000)
 
 BENCHMARK (POLY1305_1MB, 340)
 

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
 

Function Documentation

◆ BENCHMARK() [1/3]

BENCHMARK ( POLY1305_64BYTES  ,
500000   
)
Here is the caller graph for this function:

◆ BENCHMARK() [2/3]

BENCHMARK ( POLY1305_256BYTES  ,
250000   
)

◆ BENCHMARK() [3/3]

BENCHMARK ( POLY1305_1MB  ,
340   
)

◆ POLY1305()

static void POLY1305 ( benchmark::State state,
size_t  buffersize 
)
static

Definition at line 14 of file poly1305.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ POLY1305_1MB()

static void POLY1305_1MB ( benchmark::State state)
static

Definition at line 33 of file poly1305.cpp.

Here is the call graph for this function:

◆ POLY1305_256BYTES()

static void POLY1305_256BYTES ( benchmark::State state)
static

Definition at line 28 of file poly1305.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ POLY1305_64BYTES()

static void POLY1305_64BYTES ( benchmark::State state)
static

Definition at line 23 of file poly1305.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ BUFFER_SIZE_LARGE

constexpr uint64_t BUFFER_SIZE_LARGE = 1024*1024
static

Definition at line 12 of file poly1305.cpp.

◆ BUFFER_SIZE_SMALL

constexpr uint64_t BUFFER_SIZE_SMALL = 256
static

Definition at line 11 of file poly1305.cpp.

◆ BUFFER_SIZE_TINY

constexpr uint64_t BUFFER_SIZE_TINY = 64
static

Definition at line 10 of file poly1305.cpp.