11#ifndef BOTAN_FRODOKEM_AES_GENERATOR_H_
12#define BOTAN_FRODOKEM_AES_GENERATOR_H_
14#include <botan/internal/aes.h>
15#include <botan/internal/frodo_constants.h>
16#include <botan/internal/frodo_types.h>
17#include <botan/internal/loadstor.h>
18#include <botan/internal/stl_util.h>
34 return [n =
static_cast<uint16_t
>(constants.
n()), aes = setup_aes(seed_a)](std::span<uint8_t> out, uint16_t i) {
#define BOTAN_ASSERT_NOMSG(expr)
#define BOTAN_DEBUG_ASSERT(expr)
Helper class to ease in-place marshalling of concatenated fixed-length values.
constexpr void append(std::span< const uint8_t > buffer)
constexpr size_t remaining_capacity() const
constexpr std::span< uint8_t > next(size_t bytes)
constexpr bool full() const
FrodoKEMMode mode() const
void set_key(const SymmetricKey &key)
constexpr auto store_le(ParamTs &&... params)
auto create_aes_row_generator(const FrodoKEMConstants &constants, StrongSpan< const FrodoSeedA > seed_a)
constexpr void clear_mem(T *ptr, size_t n)