Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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
static

Definition at line 15 of file chacha_poly_aead.h.

◆ CHACHA20_POLY1305_AEAD_AAD_LEN

constexpr int CHACHA20_POLY1305_AEAD_AAD_LEN = 3
static

◆ CHACHA20_POLY1305_AEAD_KEY_LEN

constexpr int CHACHA20_POLY1305_AEAD_KEY_LEN = 32
static

Definition at line 12 of file chacha_poly_aead.h.

Referenced by ChaCha20Poly1305AEAD::ChaCha20Poly1305AEAD().

◆ CHACHA20_ROUND_OUTPUT

constexpr int CHACHA20_ROUND_OUTPUT = 64
static
Released under the MIT license