Botan 3.7.1
Crypto and TLS for C&
|
Constant time mask wrapper for GF(q) elements. More...
#include <cmce_gf.h>
Public Member Functions | |
bool | as_bool () const |
CT::Mask< uint16_t > & | elem_mask () |
GF_Mask (CT::Mask< uint16_t > underlying_mask) | |
Classic_McEliece_GF | if_set_return (const Classic_McEliece_GF x) const |
GF_Mask & | operator&= (const GF_Mask &o) |
Classic_McEliece_GF | select (const Classic_McEliece_GF x, CmceGfElem y) const |
Classic_McEliece_GF | select (const Classic_McEliece_GF x, const Classic_McEliece_GF y) const |
uint16_t | select (uint16_t x, uint16_t y) const |
Static Public Member Functions | |
static GF_Mask | expand (Classic_McEliece_GF v) |
template<std::unsigned_integral T> | |
static GF_Mask | expand (T v) |
static GF_Mask | is_equal (Classic_McEliece_GF a, Classic_McEliece_GF b) |
static GF_Mask | is_lte (Classic_McEliece_GF a, Classic_McEliece_GF b) |
static GF_Mask | is_zero (Classic_McEliece_GF v) |
static GF_Mask | set () |
|
inline |
|
inline |
Definition at line 197 of file cmce_gf.h.
Referenced by Botan::Classic_McEliece_PrivateKeyInternal::check_key().
|
inlinestatic |
Definition at line 160 of file cmce_gf.h.
References Botan::Classic_McEliece_GF::elem(), expand(), and Botan::detail::Strong_Base< T >::get().
Referenced by expand().
|
inline |
Definition at line 176 of file cmce_gf.h.
References Botan::Classic_McEliece_GF::elem(), Botan::detail::Strong_Base< T >::get(), and Botan::Classic_McEliece_GF::modulus().
|
inlinestatic |
Definition at line 168 of file cmce_gf.h.
References Botan::b, Botan::Classic_McEliece_GF::elem(), and Botan::detail::Strong_Base< T >::get().
Referenced by Botan::Classic_McEliece_PrivateKeyInternal::check_key().
|
inlinestatic |
Definition at line 164 of file cmce_gf.h.
References Botan::b, Botan::Classic_McEliece_GF::elem(), and Botan::detail::Strong_Base< T >::get().
|
inlinestatic |
Definition at line 162 of file cmce_gf.h.
References Botan::Classic_McEliece_GF::elem(), and Botan::detail::Strong_Base< T >::get().
Referenced by Botan::Classic_McEliece_Polynomial_Ring::compute_minimal_polynomial().
|
inline |
Definition at line 184 of file cmce_gf.h.
References Botan::Classic_McEliece_GF::elem(), Botan::detail::Strong_Base< T >::get(), and Botan::Classic_McEliece_GF::modulus().
|
inline |
Definition at line 180 of file cmce_gf.h.
References Botan::Classic_McEliece_GF::elem(), Botan::detail::Strong_Base< T >::get(), and Botan::Classic_McEliece_GF::modulus().
|
inline |