25 encrypt.
Encrypt(ciphertext.data(), plaintext.data());
27 decrypt.
Decrypt(decrypted_plaintext.data(), ciphertext.data());
28 assert(decrypted_plaintext == plaintext);
static const int AES256_KEYSIZE
static const int AES_BLOCKSIZE
A decryption class for AES-256.
void Decrypt(unsigned char plaintext[16], const unsigned char ciphertext[16]) const
An encryption class for AES-256.
void Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const
#define LIMITED_WHILE(condition, limit)
Can be used to limit a theoretically unbounded loop.
std::vector< B > ConsumeFixedLengthByteVector(FuzzedDataProvider &fuzzed_data_provider, const size_t length) noexcept
Returns a byte vector of specified size regardless of the number of remaining bytes available from th...