Bitcoin Core 32.1.0
P2P Digital Currency
Loading...
Searching...
No Matches
AES256CBCEncrypt Class Reference

#include <aes.h>

Collaboration diagram for AES256CBCEncrypt:
[legend]

Public Member Functions

 AES256CBCEncrypt (const unsigned char key[AES256_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn)
 ~AES256CBCEncrypt ()
int Encrypt (const unsigned char *data, int size, unsigned char *out) const

Private Attributes

secure_allocator< unsigned char > allocator
const AES256Encrypt enc
const bool pad
unsigned char * iv

Detailed Description

Definition at line 44 of file aes.h.

Constructor & Destructor Documentation

◆ AES256CBCEncrypt()

AES256CBCEncrypt::AES256CBCEncrypt ( const unsigned char key[AES256_KEYSIZE],
const unsigned char ivIn[AES_BLOCKSIZE],
bool padIn )

Definition at line 124 of file aes.cpp.

Here is the call graph for this function:

◆ ~AES256CBCEncrypt()

AES256CBCEncrypt::~AES256CBCEncrypt ( )

Definition at line 136 of file aes.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ Encrypt()

int AES256CBCEncrypt::Encrypt ( const unsigned char * data,
int size,
unsigned char * out ) const

Definition at line 131 of file aes.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ allocator

secure_allocator<unsigned char> AES256CBCEncrypt::allocator
private

Definition at line 52 of file aes.h.

◆ enc

const AES256Encrypt AES256CBCEncrypt::enc
private

Definition at line 53 of file aes.h.

◆ iv

unsigned char* AES256CBCEncrypt::iv
private

Definition at line 55 of file aes.h.

◆ pad

const bool AES256CBCEncrypt::pad
private

Definition at line 54 of file aes.h.


The documentation for this class was generated from the following files: