Bitcoin ABC  0.28.12
P2P Digital Currency
Classes | Variables
chacha_poly_aead.h File Reference
#include <crypto/chacha20.h>
#include <cmath>
Include dependency graph for chacha_poly_aead.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ChaCha20Poly1305AEAD
 

Variables

static constexpr int CHACHA20_POLY1305_AEAD_KEY_LEN = 32
 
static constexpr int CHACHA20_POLY1305_AEAD_AAD_LEN = 3
 
static constexpr int CHACHA20_ROUND_OUTPUT = 64
 
static constexpr int AAD_PACKAGES_PER_ROUND = 21
 

Variable Documentation

◆ AAD_PACKAGES_PER_ROUND

constexpr int AAD_PACKAGES_PER_ROUND = 21
staticconstexpr

Definition at line 15 of file chacha_poly_aead.h.

◆ CHACHA20_POLY1305_AEAD_AAD_LEN

constexpr int CHACHA20_POLY1305_AEAD_AAD_LEN = 3
staticconstexpr

Definition at line 13 of file chacha_poly_aead.h.

◆ CHACHA20_POLY1305_AEAD_KEY_LEN

constexpr int CHACHA20_POLY1305_AEAD_KEY_LEN = 32
staticconstexpr

Definition at line 12 of file chacha_poly_aead.h.

◆ CHACHA20_ROUND_OUTPUT

constexpr int CHACHA20_ROUND_OUTPUT = 64
staticconstexpr

Definition at line 14 of file chacha_poly_aead.h.