Bitcoin Core  0.18.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
AES128CBCEncrypt Class Reference

#include <aes.h>

Collaboration diagram for AES128CBCEncrypt:

Public Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 92 of file aes.h.

Constructor & Destructor Documentation

◆ AES128CBCEncrypt()

AES128CBCEncrypt::AES128CBCEncrypt ( const unsigned char  key[AES128_KEYSIZE],
const unsigned char  ivIn[AES_BLOCKSIZE],
bool  padIn 

Definition at line 186 of file aes.cpp.

◆ ~AES128CBCEncrypt()

AES128CBCEncrypt::~AES128CBCEncrypt ( )

Definition at line 192 of file aes.cpp.

Member Function Documentation

◆ Encrypt()

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

Definition at line 197 of file aes.cpp.

Member Data Documentation

◆ enc

const AES128Encrypt AES128CBCEncrypt::enc

Definition at line 100 of file aes.h.

◆ iv

unsigned char AES128CBCEncrypt::iv[AES_BLOCKSIZE]

Definition at line 102 of file aes.h.

◆ pad

const bool AES128CBCEncrypt::pad

Definition at line 101 of file aes.h.

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