Botan 3.7.1
Crypto and TLS for C&
|
#include <bitvector.h>
Public Member Functions | |
template<std::integral T> | |
constexpr T | as () const noexcept |
constexpr CT::Choice | as_choice () const noexcept |
bitref (bitref &&) noexcept=default | |
bitref (const bitref &) noexcept=default | |
constexpr bitref & | flip () noexcept |
constexpr bool | is_set () const noexcept |
constexpr | operator bool () const noexcept |
constexpr bitref & | operator&= (bool other) noexcept |
constexpr bitref & | operator= (bitref &&bit) noexcept |
constexpr bitref & | operator= (bool bit) noexcept |
constexpr bitref & | operator= (const bitref &bit) noexcept |
constexpr bitref & | operator^= (bool other) noexcept |
constexpr bitref & | operator|= (bool other) noexcept |
constexpr bitref & | set () noexcept |
constexpr bitref & | unset () noexcept |
~bitref ()=default | |
Protected Attributes | |
BlockT & | m_block |
BlockT | m_mask |
Wraps a modifiable reference into the bitvector. Bit may be accessed and modified (e.g. flipped or XOR'ed).
Constant-time operations are used for the bit manipulations. The location of the bit in the bit vector may be leaked, though.
Definition at line 319 of file bitvector.h.
|
default |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlineconstexprnoexceptinherited |
Definition at line 286 of file bitvector.h.
|
inlineconstexprnoexceptinherited |
Definition at line 290 of file bitvector.h.
|
inlineconstexprnoexcept |
Definition at line 337 of file bitvector.h.
|
inlineconstexprnoexceptinherited |
Definition at line 283 of file bitvector.h.
|
inlineconstexprnoexceptinherited |
Definition at line 281 of file bitvector.h.
|
inlineconstexprnoexcept |
Definition at line 356 of file bitvector.h.
|
inlineconstexprnoexcept |
Definition at line 352 of file bitvector.h.
|
inlineconstexprnoexcept |
Definition at line 344 of file bitvector.h.
References Botan::CT::Mask< T >::expand().
|
inlineconstexprnoexcept |
Definition at line 350 of file bitvector.h.
|
inlineconstexprnoexcept |
Definition at line 366 of file bitvector.h.
References Botan::CT::Mask< T >::expand().
|
inlineconstexprnoexcept |
Definition at line 361 of file bitvector.h.
References Botan::CT::Mask< T >::expand().
|
inlineconstexprnoexcept |
Definition at line 327 of file bitvector.h.
|
inlineconstexprnoexcept |
Definition at line 332 of file bitvector.h.
|
protectedinherited |
Definition at line 295 of file bitvector.h.
|
protectedinherited |
Definition at line 296 of file bitvector.h.