Botan 3.9.0
Crypto and TLS for C&
|
#include <bitvector.h>
Public Member Functions | |
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 321 of file bitvector.h.
|
default |
|
defaultnoexcept |
References bitref().
Referenced by bitref(), bitref(), flip(), operator&=(), operator=(), operator=(), operator=(), operator^=(), operator|=(), set(), and unset().
|
defaultnoexcept |
References bitref().
|
inlineconstexprnoexcept |
Definition at line 288 of file bitvector.h.
|
inlineconstexprnoexcept |
Definition at line 292 of file bitvector.h.
|
inlineconstexprnoexcept |
Definition at line 339 of file bitvector.h.
References bitref().
|
inlineconstexprnoexcept |
Definition at line 285 of file bitvector.h.
|
inlineconstexprnoexcept |
Definition at line 283 of file bitvector.h.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 346 of file bitvector.h.
References bitref(), and Botan::CT::Mask< T >::expand().
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Definition at line 368 of file bitvector.h.
References bitref(), and Botan::CT::Mask< T >::expand().
|
inlineconstexprnoexcept |
Definition at line 363 of file bitvector.h.
References bitref(), and Botan::CT::Mask< T >::expand().
|
inlineconstexprnoexcept |
Definition at line 329 of file bitvector.h.
References bitref(), and set().
Referenced by set().
|
inlineconstexprnoexcept |
Definition at line 334 of file bitvector.h.
References bitref().
|
protected |
Definition at line 297 of file bitvector.h.
|
protected |
Definition at line 298 of file bitvector.h.