|
Botan 3.9.0
Crypto and TLS for C&
|
Internal Header. More...
#include <botan/types.h>#include <botan/compiler.h>#include <botan/internal/bswap.h>#include <concepts>Go to the source code of this file.
Namespaces | |
| namespace | Botan |
Functions | |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr T | Botan::bit_permute_step (T x, T mask, size_t shift) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr T | Botan::ceil_division (T a, T b) |
| template<std::unsigned_integral T> requires (sizeof(T) < 32) | |
| constexpr uint8_t | Botan::ceil_log2 (T x) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr T | Botan::ceil_tobytes (T bits) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr T | Botan::choose (T mask, T a, T b) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr T | Botan::ct_is_zero (T x) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr uint8_t | Botan::ct_popcount (T x) |
| template<std::unsigned_integral T> | |
| constexpr T | Botan::ct_reverse_bits (T b) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr size_t | Botan::ctz (T n) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr T | Botan::expand_top_bit (T a) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr T | Botan::floor_log2 (T n) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr size_t | Botan::high_bit (T n) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr bool | Botan::is_power_of_2 (T arg) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr T | Botan::majority (T a, T b, T c) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr size_t | Botan::significant_bytes (T n) |
| template<std::unsigned_integral T> | |
| BOTAN_FORCE_INLINE constexpr void | Botan::swap_bits (T &x, T &y, T mask, size_t shift) |
| BOTAN_FORCE_INLINE constexpr size_t | Botan::var_ctz32 (uint32_t n) |
Internal Header.
Definition in file bit_ops.h.