Bitcoin Core 31.0.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

const AES256Encrypt enc
const bool pad
unsigned char iv [AES_BLOCKSIZE]

Detailed Description

Definition at line 41 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 121 of file aes.cpp.

◆ ~AES256CBCEncrypt()

AES256CBCEncrypt::~AES256CBCEncrypt ( )

Definition at line 132 of file aes.cpp.

Member Function Documentation

◆ Encrypt()

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

Definition at line 127 of file aes.cpp.

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

Member Data Documentation

◆ enc

const AES256Encrypt AES256CBCEncrypt::enc
private

Definition at line 49 of file aes.h.

◆ iv

unsigned char AES256CBCEncrypt::iv[AES_BLOCKSIZE]
private

Definition at line 51 of file aes.h.

◆ pad

const bool AES256CBCEncrypt::pad
private

Definition at line 50 of file aes.h.


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