Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

AES128CBCDecrypt Class Reference

#include <aes.h>

+ Collaboration diagram for AES128CBCDecrypt:

Public Member Functions

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

Private Attributes

const AES128Decrypt dec
 
const bool pad
 
unsigned char iv [AES_BLOCKSIZE]
 

Detailed Description

Definition at line 105 of file aes.h.

Constructor & Destructor Documentation

◆ AES128CBCDecrypt()

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

Definition at line 202 of file aes.cpp.

References AES_BLOCKSIZE, iv, and memcpy().

◆ ~AES128CBCDecrypt()

AES128CBCDecrypt::~AES128CBCDecrypt ( )

Definition at line 208 of file aes.cpp.

References AES_BLOCKSIZE, and iv.

Member Function Documentation

◆ Decrypt()

int AES128CBCDecrypt::Decrypt ( const unsigned char *  data,
int  size,
unsigned char *  out 
) const

Definition at line 213 of file aes.cpp.

References CBCDecrypt(), dec, iv, and pad.

Member Data Documentation

◆ dec

const AES128Decrypt AES128CBCDecrypt::dec
private

Definition at line 113 of file aes.h.

Referenced by Decrypt().

◆ iv

unsigned char AES128CBCDecrypt::iv[AES_BLOCKSIZE]
private

Definition at line 115 of file aes.h.

Referenced by AES128CBCDecrypt(), Decrypt(), and ~AES128CBCDecrypt().

◆ pad

const bool AES128CBCDecrypt::pad
private

Definition at line 114 of file aes.h.

Referenced by Decrypt().


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