Botan 3.6.1
Crypto and TLS for C&
|
#include <pqcrystals.h>
Public Member Functions | |
void | _const_time_poison () const |
void | _const_time_unpoison () const |
decltype(auto) | begin () |
decltype(auto) | begin () const |
ThisPolynomialVector | clone () const |
std::span< T > | coefficients () |
std::span< const T > | coefficients () const |
ThisPolynomialVector & | conditional_add_q () |
constexpr bool | ct_validate_value_range (T min, T max) const noexcept |
constexpr Domain | domain () const noexcept |
decltype(auto) | end () |
decltype(auto) | end () const |
size_t | hamming_weight () const noexcept |
ThisPolynomialVector & | operator+= (const ThisPolynomialVector &other) |
ThisPolynomialVector & | operator-= (const ThisPolynomialVector &other) |
ThisPolynomialVector & | operator= (const ThisPolynomialVector &other)=delete |
ThisPolynomialVector & | operator= (ThisPolynomialVector &&other) noexcept=default |
Polynomial< Trait, D > & | operator[] (size_t i) |
const Polynomial< Trait, D > & | operator[] (size_t i) const |
PolynomialVector (const ThisPolynomialVector &other)=delete | |
PolynomialVector (size_t vecsize) | |
PolynomialVector (ThisPolynomialVector &&other) noexcept=default | |
ThisPolynomialVector & | reduce () |
size_t | size () const |
~PolynomialVector ()=default | |
Static Public Member Functions | |
template<Domain OtherD> requires (D != OtherD) | |
static PolynomialVector< Trait, D > | from_domain_cast (PolynomialVector< Trait, OtherD > &&other) |
Friends | |
template<Domain To, template< typename, Domain > class StructureT, crystals_trait C, Domain From> requires (To != From) | |
StructureT< C, To > | detail::domain_cast (StructureT< C, From > &&) |
template<crystals_trait OtherTrait, Domain OtherD> | |
class | PolynomialVector |
Definition at line 352 of file pqcrystals.h.
|
inline |
Definition at line 398 of file pqcrystals.h.
|
delete |
|
defaultnoexcept |
|
default |
|
inline |
Definition at line 486 of file pqcrystals.h.
References Botan::CT::poison_range().
|
inline |
Definition at line 488 of file pqcrystals.h.
References Botan::CT::unpoison_range().
|
inline |
Definition at line 478 of file pqcrystals.h.
|
inline |
Definition at line 480 of file pqcrystals.h.
|
inline |
Definition at line 415 of file pqcrystals.h.
References Botan::copy_mem(), and Botan::CRYSTALS::PolynomialVector< Trait, D >::size().
|
inline |
Definition at line 440 of file pqcrystals.h.
Referenced by Botan::CRYSTALS::PolynomialVector< Trait, D >::ct_validate_value_range(), Botan::CRYSTALS::operator*(), Botan::CRYSTALS::operator*(), Botan::CRYSTALS::PolynomialVector< Trait, D >::operator+=(), and Botan::CRYSTALS::PolynomialVector< Trait, D >::operator-=().
|
inline |
Definition at line 442 of file pqcrystals.h.
|
inline |
Definition at line 467 of file pqcrystals.h.
|
inlineconstexprnoexcept |
Definition at line 436 of file pqcrystals.h.
References Botan::CRYSTALS::PolynomialVector< Trait, D >::coefficients().
Referenced by Botan::Dilithium_Algos::make_hint(), and Botan::Dilithium_Algos::use_hint().
|
inlineconstexprnoexcept |
Definition at line 413 of file pqcrystals.h.
|
inline |
Definition at line 482 of file pqcrystals.h.
|
inline |
Definition at line 484 of file pqcrystals.h.
|
inlinestatic |
Definition at line 393 of file pqcrystals.h.
References Botan::CRYSTALS::PolynomialVector< Trait, D >::PolynomialVector.
|
inlinenoexcept |
Definition at line 427 of file pqcrystals.h.
|
inline |
Definition at line 444 of file pqcrystals.h.
References BOTAN_ASSERT, and Botan::CRYSTALS::PolynomialVector< Trait, D >::coefficients().
|
inline |
Definition at line 452 of file pqcrystals.h.
References BOTAN_ASSERT, and Botan::CRYSTALS::PolynomialVector< Trait, D >::coefficients().
|
delete |
|
defaultnoexcept |
|
inline |
Definition at line 474 of file pqcrystals.h.
|
inline |
Definition at line 476 of file pqcrystals.h.
|
inline |
Definition at line 460 of file pqcrystals.h.
|
inline |
Definition at line 411 of file pqcrystals.h.
Referenced by Botan::CRYSTALS::PolynomialVector< Trait, D >::clone(), Botan::Dilithium_PublicKeyInternal::Dilithium_PublicKeyInternal(), Botan::CRYSTALS::detail::dot_product(), Botan::Dilithium_Algos::make_hint(), Botan::CRYSTALS::operator*(), Botan::CRYSTALS::operator+(), Botan::Dilithium_Algos::power2round(), and Botan::Dilithium_Algos::use_hint().
|
friend |
|
friend |
Definition at line 363 of file pqcrystals.h.
Referenced by Botan::CRYSTALS::PolynomialVector< Trait, D >::from_domain_cast().