Bitcoin ABC 0.30.7
P2P Digital Currency
Functions
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 uint8_t iv[AES_BLOCKSIZE], const uint8_t *data, int size, bool pad, uint8_t *out)
 
template<typename T >
static int CBCDecrypt (const T &dec, const uint8_t iv[AES_BLOCKSIZE], const uint8_t *data, int size, bool pad, uint8_t *out)
 

Function Documentation

◆ CBCDecrypt()

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

Definition at line 107 of file aes.cpp.

Here is the caller graph for this function:

◆ CBCEncrypt()

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

Definition at line 66 of file aes.cpp.

Here is the caller graph for this function: