Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
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::Bench &bench, size_t buffersize)
 
static void POLY1305_64BYTES (benchmark::Bench &bench)
 
static void POLY1305_256BYTES (benchmark::Bench &bench)
 
static void POLY1305_1MB (benchmark::Bench &bench)
 
 BENCHMARK (POLY1305_64BYTES)
 
 BENCHMARK (POLY1305_256BYTES)
 
 BENCHMARK (POLY1305_1MB)
 

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 ( POLY1305_64BYTES  )
BENCHMARK ( POLY1305_256BYTES  )
BENCHMARK ( POLY1305_1MB  )
static void POLY1305 ( benchmark::Bench bench,
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:

static void POLY1305_1MB ( benchmark::Bench bench)
static

Definition at line 34 of file poly1305.cpp.

Here is the call graph for this function:

static void POLY1305_256BYTES ( benchmark::Bench bench)
static

Definition at line 29 of file poly1305.cpp.

Here is the call graph for this function:

static void POLY1305_64BYTES ( benchmark::Bench bench)
static

Definition at line 24 of file poly1305.cpp.

Here is the call graph for this function:

Variable Documentation

constexpr uint64_t BUFFER_SIZE_LARGE = 1024*1024
static

Definition at line 12 of file poly1305.cpp.

constexpr uint64_t BUFFER_SIZE_SMALL = 256
static

Definition at line 11 of file poly1305.cpp.

constexpr uint64_t BUFFER_SIZE_TINY = 64
static

Definition at line 10 of file poly1305.cpp.