9#include <botan/internal/dilithium_aes.h>
11#include <botan/internal/aes_crystals_xof.h>
12#include <botan/internal/loadstor.h>
20class AES_XOF
final :
public DilithiumXOF {
22 Botan::XOF& XOF128(std::span<const uint8_t> seed, uint16_t nonce)
const override {
23 return XOF(m_aes_xof, seed, nonce);
26 Botan::XOF& XOF256(std::span<const uint8_t> seed, uint16_t nonce)
const override {
27 return XOF(m_aes_xof, seed, nonce);
42 const auto key = seed.first(32);
50 mutable AES_256_CTR_XOF m_aes_xof;
#define BOTAN_ASSERT_NOMSG(expr)
Dilithium_AES_Symmetric_Primitives(const DilithiumConstants &mode)
void start(std::span< const uint8_t > salt={}, std::span< const uint8_t > key={})
int(* final)(unsigned char *, CTX *)
constexpr uint8_t get_byte(T input)