Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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.

References AES_BLOCKSIZE, iv, and memcpy().

◆ ~AES128CBCEncrypt()

AES128CBCEncrypt::~AES128CBCEncrypt ( )

Definition at line 192 of file aes.cpp.

References AES_BLOCKSIZE, and iv.

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.

References CBCEncrypt(), enc, iv, and pad.

Member Data Documentation

◆ enc

const AES128Encrypt AES128CBCEncrypt::enc
private

Definition at line 100 of file aes.h.

Referenced by Encrypt().

◆ iv

unsigned char AES128CBCEncrypt::iv[AES_BLOCKSIZE]
private

Definition at line 102 of file aes.h.

Referenced by AES128CBCEncrypt(), Encrypt(), and ~AES128CBCEncrypt().

◆ pad

const bool AES128CBCEncrypt::pad
private

Definition at line 101 of file aes.h.

Referenced by Encrypt().


The documentation for this class was generated from the following files:
Released under the MIT license