Botan 3.6.1
Crypto and TLS for C&
|
Functions | |
constexpr auto | as_byte_source (BufferSlicer &slicer) |
template<Domain To, template< typename, Domain > class StructureT, crystals_trait Trait, Domain From> requires (To != From) | |
StructureT< Trait, To > | domain_cast (StructureT< Trait, From > &&p) |
template<crystals_trait Trait> | |
void | dot_product (Polynomial< Trait, Domain::NTT > &out, const PolynomialVector< Trait, Domain::NTT > &a, const PolynomialVector< Trait, Domain::NTT > &b) |
template<crystals_trait Trait, Domain D> | |
void | montgomery (Polynomial< Trait, D > &p) |
|
constexpr |
Definition at line 30 of file pqcrystals_encoding.h.
References Botan::BufferSlicer::copy_into().
Referenced by Botan::CRYSTALS::unpack().
StructureT< Trait, To > Botan::CRYSTALS::detail::domain_cast | ( | StructureT< Trait, From > && | p | ) |
Converts polynomials or polynomial vectors from one domain to another.
Definition at line 161 of file pqcrystals.h.
Referenced by Botan::CRYSTALS::inverse_ntt(), Botan::CRYSTALS::inverse_ntt(), Botan::CRYSTALS::ntt(), and Botan::CRYSTALS::ntt().
void Botan::CRYSTALS::detail::dot_product | ( | Polynomial< Trait, Domain::NTT > & | out, |
const PolynomialVector< Trait, Domain::NTT > & | a, | ||
const PolynomialVector< Trait, Domain::NTT > & | b ) |
Definition at line 544 of file pqcrystals.h.
References Botan::b, BOTAN_ASSERT, Botan::CRYSTALS::Polynomial< Trait, D >::reduce(), and Botan::CRYSTALS::PolynomialVector< Trait, D >::size().
Referenced by Botan::CRYSTALS::operator*().
void Botan::CRYSTALS::detail::montgomery | ( | Polynomial< Trait, D > & | p | ) |
Definition at line 537 of file pqcrystals.h.
Referenced by Botan::CRYSTALS::montgomery(), and Botan::CRYSTALS::montgomery().