Botan 3.6.1
Crypto and TLS for C&
pqcrystals_encoding.h File Reference

Internal Header. More...

#include <limits>
#include <numeric>
#include <span>
#include <botan/internal/loadstor.h>
#include <botan/internal/pqcrystals.h>
#include <botan/internal/pqcrystals_helpers.h>
#include <botan/internal/stl_util.h>

Go to the source code of this file.

Classes

struct  Botan::CRYSTALS::BitPackingTrait< range, PolyTrait >
 

Namespaces

namespace  Botan
 
namespace  Botan::CRYSTALS
 
namespace  Botan::CRYSTALS::detail
 

Concepts

concept  Botan::CRYSTALS::byte_source
 
concept  Botan::CRYSTALS::coeff_map_fn
 
concept  Botan::CRYSTALS::coeff_unmap_fn
 

Functions

constexpr auto Botan::CRYSTALS::detail::as_byte_source (BufferSlicer &slicer)
 
template<int32_t range, crystals_trait PolyTrait, Domain D>
constexpr void Botan::CRYSTALS::pack (const Polynomial< PolyTrait, D > &p, BufferStuffer &stuffer)
 Overload for packing polynomials with a NOOP map function.
 
template<int32_t range, crystals_trait PolyTrait, Domain D, coeff_map_fn< typename PolyTrait::T > MapFnT>
constexpr void Botan::CRYSTALS::pack (const Polynomial< PolyTrait, D > &p, BufferStuffer &stuffer, MapFnT map)
 
template<int32_t range, byte_source ByteSourceT, crystals_trait PolyTrait, Domain D>
constexpr void Botan::CRYSTALS::unpack (Polynomial< PolyTrait, D > &p, ByteSourceT &byte_source)
 Overload for unpacking polynomials with a NOOP unmap function.
 
template<int32_t range, byte_source ByteSourceT, crystals_trait PolyTrait, Domain D, coeff_unmap_fn< typename PolyTrait::T > UnmapFnT>
constexpr void Botan::CRYSTALS::unpack (Polynomial< PolyTrait, D > &p, ByteSourceT &byte_source, UnmapFnT unmap)
 

Detailed Description

Internal Header.

Definition in file pqcrystals_encoding.h.