Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

chacha_poly_aead.cpp File Reference
#include <crypto/chacha_poly_aead.h>
#include <crypto/common.h>
#include <crypto/poly1305.h>
#include <support/cleanse.h>
#include <assert.h>
#include <string.h>
#include <cstdio>
#include <limits>
+ Include dependency graph for chacha_poly_aead.cpp:

Go to the source code of this file.

Functions

int timingsafe_bcmp (const unsigned char *b1, const unsigned char *b2, size_t n)
 

Function Documentation

◆ timingsafe_bcmp()

int timingsafe_bcmp ( const unsigned char *  b1,
const unsigned char *  b2,
size_t  n 
)

Definition at line 19 of file chacha_poly_aead.cpp.

Referenced by ChaCha20Poly1305AEAD::Crypt().

Released under the MIT license