Bitcoin ABC 0.30.3
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
AES128Encrypt Class Reference

An encryption class for AES-128. More...

#include <aes.h>

Collaboration diagram for AES128Encrypt:
[legend]

Public Member Functions

 AES128Encrypt (const uint8_t key[16])
 
 ~AES128Encrypt ()
 
void Encrypt (uint8_t ciphertext[16], const uint8_t plaintext[16]) const
 

Private Attributes

AES128_ctx ctx
 

Detailed Description

An encryption class for AES-128.

Definition at line 19 of file aes.h.

Constructor & Destructor Documentation

◆ AES128Encrypt()

AES128Encrypt::AES128Encrypt ( const uint8_t  key[16])
explicit

Definition at line 13 of file aes.cpp.

Here is the call graph for this function:

◆ ~AES128Encrypt()

AES128Encrypt::~AES128Encrypt ( )

Definition at line 17 of file aes.cpp.

Member Function Documentation

◆ Encrypt()

void AES128Encrypt::Encrypt ( uint8_t  ciphertext[16],
const uint8_t  plaintext[16] 
) const

Definition at line 21 of file aes.cpp.

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

Member Data Documentation

◆ ctx

AES128_ctx AES128Encrypt::ctx
private

Definition at line 21 of file aes.h.


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