Bitcoin Core 28.99.0
P2P Digital Currency
Functions
aes.cpp File Reference
#include <crypto/aes.h>
#include <string.h>
#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 >
static 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 >
static 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: