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

#include <aes.h>

Collaboration diagram for AES128CBCEncrypt:
[legend]

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 ( const unsigned char  key[AES128_KEYSIZE],
const unsigned char  ivIn[AES_BLOCKSIZE],
bool  padIn 
)

Definition at line 186 of file aes.cpp.

Here is the call graph for this function:

AES128CBCEncrypt::~AES128CBCEncrypt ( )

Definition at line 192 of file aes.cpp.

Member Function Documentation

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

Definition at line 197 of file aes.cpp.

Member Data Documentation

const AES128Encrypt AES128CBCEncrypt::enc
private

Definition at line 100 of file aes.h.

unsigned char AES128CBCEncrypt::iv[AES_BLOCKSIZE]
private

Definition at line 102 of file aes.h.

const bool AES128CBCEncrypt::pad
private

Definition at line 101 of file aes.h.


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