Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
AES128CBCEncrypt Class Reference
#include <aes.h>

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
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 |
Member Data Documentation
◆ enc
|
private |
◆ iv
|
private |
Definition at line 102 of file aes.h.
Referenced by AES128CBCEncrypt(), Encrypt(), and ~AES128CBCEncrypt().
◆ pad
|
private |
The documentation for this class was generated from the following files: