Bitcoin ABC  0.28.12
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 uint8_t key[AES128_KEYSIZE], const uint8_t ivIn[AES_BLOCKSIZE], bool padIn)
 
 ~AES128CBCEncrypt ()
 
int Encrypt (const uint8_t *data, int size, uint8_t *out) const
 

Private Attributes

const AES128Encrypt enc
 
const bool pad
 
uint8_t iv [AES_BLOCKSIZE]
 

Detailed Description

Definition at line 88 of file aes.h.

Constructor & Destructor Documentation

◆ AES128CBCEncrypt()

AES128CBCEncrypt::AES128CBCEncrypt ( const uint8_t  key[AES128_KEYSIZE],
const uint8_t  ivIn[AES_BLOCKSIZE],
bool  padIn 
)
explicit

Definition at line 183 of file aes.cpp.

◆ ~AES128CBCEncrypt()

AES128CBCEncrypt::~AES128CBCEncrypt ( )

Definition at line 190 of file aes.cpp.

Member Function Documentation

◆ Encrypt()

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

Definition at line 194 of file aes.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ enc

const AES128Encrypt AES128CBCEncrypt::enc
private

Definition at line 96 of file aes.h.

◆ iv

uint8_t AES128CBCEncrypt::iv[AES_BLOCKSIZE]
private

Definition at line 98 of file aes.h.

◆ pad

const bool AES128CBCEncrypt::pad
private

Definition at line 97 of file aes.h.


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