7#ifndef BITCOIN_CRYPTO_AES_H
8#define BITCOIN_CRYPTO_AES_H
49 int Encrypt(
const unsigned char*
data,
int size,
unsigned char* out)
const;
63 int Decrypt(
const unsigned char*
data,
int size,
unsigned char* out)
const;
constexpr int AES_BLOCKSIZE
constexpr int AES256_KEYSIZE
int Decrypt(const unsigned char *data, int size, unsigned char *out) const
secure_allocator< unsigned char > allocator
int Encrypt(const unsigned char *data, int size, unsigned char *out) const
secure_allocator< unsigned char > allocator
A decryption class for AES-256.
secure_allocator< AES256_ctx > allocator
void Decrypt(unsigned char plaintext[16], const unsigned char ciphertext[16]) const
An encryption class for AES-256.
secure_allocator< AES256_ctx > allocator
void Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const
static const PrecomputedData data
Precomputed COutPoint and CCoins values.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.