9#include <botan/internal/dilithium_aes.h>
11#include <botan/internal/aes_crystals_xof.h>
12#include <botan/internal/loadstor.h>
22 std::unique_ptr<Botan::XOF> XOF128(std::span<const uint8_t> seed, uint16_t nonce)
const override {
23 return create_xof(seed, nonce);
26 std::unique_ptr<Botan::XOF> XOF256(std::span<const uint8_t> seed, uint16_t nonce)
const override {
27 return create_xof(seed, nonce);
32 static std::unique_ptr<Botan::XOF> create_xof(std::span<const uint8_t> seed, uint16_t nonce) {
43 const auto key = seed.first(32);
45 auto xof = std::make_unique<AES_256_CTR_XOF>();
#define BOTAN_ASSERT_NOMSG(expr)
Dilithium_AES_Symmetric_Primitives(const DilithiumConstants &mode)
constexpr uint8_t get_byte(T input)