Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
aes.cpp File Reference
#include <crypto/aes.h>
#include <cstring>
#include <crypto/ctaes/ctaes.c>
Include dependency graph for aes.cpp:

Go to the source code of this file.

Functions

template<typename T>
static int CBCEncrypt (const T &enc, const unsigned char iv[AES_BLOCKSIZE], const unsigned char *data, int size, bool pad, unsigned char *out)
template<typename T>
static int CBCDecrypt (const T &dec, const unsigned char iv[AES_BLOCKSIZE], const unsigned char *data, int size, bool pad, unsigned char *out)

Function Documentation

◆ CBCDecrypt()

template<typename T>
int CBCDecrypt ( const T & dec,
const unsigned char iv[AES_BLOCKSIZE],
const unsigned char * data,
int size,
bool pad,
unsigned char * out )
static

Definition at line 81 of file aes.cpp.

Here is the caller graph for this function:

◆ CBCEncrypt()

template<typename T>
int CBCEncrypt ( const T & enc,
const unsigned char iv[AES_BLOCKSIZE],
const unsigned char * data,
int size,
bool pad,
unsigned char * out )
static

Definition at line 45 of file aes.cpp.

Here is the caller graph for this function: