Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
AES256CBCEncrypt Class Reference

#include <aes.h>

Collaboration diagram for AES256CBCEncrypt:
[legend]

Public Member Functions

 AES256CBCEncrypt (const uint8_t key[AES256_KEYSIZE], const uint8_t ivIn[AES_BLOCKSIZE], bool padIn)
 
 ~AES256CBCEncrypt ()
 
int Encrypt (const uint8_t *data, int size, uint8_t *out) const
 

Private Attributes

const AES256Encrypt enc
 
const bool pad
 
uint8_t iv [AES_BLOCKSIZE]
 

Detailed Description

Definition at line 62 of file aes.h.

Constructor & Destructor Documentation

◆ AES256CBCEncrypt()

AES256CBCEncrypt::AES256CBCEncrypt ( const uint8_t  key[AES256_KEYSIZE],
const uint8_t  ivIn[AES_BLOCKSIZE],
bool  padIn 
)
explicit

Definition at line 151 of file aes.cpp.

Here is the call graph for this function:

◆ ~AES256CBCEncrypt()

AES256CBCEncrypt::~AES256CBCEncrypt ( )

Definition at line 163 of file aes.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ Encrypt()

int AES256CBCEncrypt::Encrypt ( const uint8_t data,
int  size,
uint8_t out 
) const

Definition at line 158 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 AES256Encrypt AES256CBCEncrypt::enc
private

Definition at line 70 of file aes.h.

◆ iv

uint8_t AES256CBCEncrypt::iv[AES_BLOCKSIZE]
private

Definition at line 72 of file aes.h.

◆ pad

const bool AES256CBCEncrypt::pad
private

Definition at line 71 of file aes.h.


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