22 while (fuzzed_data_provider.ConsumeBool()) {
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.
An encryption class for AES-256.
FUZZ_TARGET(crypto_aes256)
std::vector< uint8_t > 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...