Botan 3.5.0
Crypto and TLS for C&
|
Internal Header. More...
#include <botan/secmem.h>
#include <botan/internal/bit_ops.h>
#include <type_traits>
#include <vector>
Go to the source code of this file.
Classes | |
class | Botan::CT::Choice |
class | Botan::CT::Mask< T > |
Namespaces | |
namespace | Botan |
namespace | Botan::CT |
Functions | |
template<typename T > | |
constexpr CT::Mask< T > | Botan::CT::all_zeros (const T elem[], size_t len) |
template<typename T > | |
constexpr Mask< T > | Botan::CT::conditional_assign_mem (Choice cnd, T *sink, const T *src, size_t elems) |
template<typename T > | |
constexpr Mask< T > | Botan::CT::conditional_assign_mem (T cnd, T *sink, const T *src, size_t elems) |
template<typename T > | |
constexpr Mask< T > | Botan::CT::conditional_copy_mem (Mask< T > mask, T *to, const T *from0, const T *from1, size_t elems) |
template<typename T > | |
constexpr Mask< T > | Botan::CT::conditional_copy_mem (T cnd, T *to, const T *from0, const T *from1, size_t elems) |
template<typename T > | |
constexpr void | Botan::CT::conditional_swap (bool cnd, T &x, T &y) |
template<typename T > | |
constexpr void | Botan::CT::conditional_swap_ptr (bool cnd, T &x, T &y) |
secure_vector< uint8_t > | Botan::CT::copy_output (CT::Mask< uint8_t > bad_input_u8, const uint8_t input[], size_t input_length, size_t offset) |
template<typename T > | |
constexpr CT::Mask< T > | Botan::CT::is_equal (const T x[], const T y[], size_t len) |
template<typename T > | |
constexpr CT::Mask< T > | Botan::CT::is_not_equal (const T x[], const T y[], size_t len) |
template<typename T > | |
constexpr void | Botan::CT::poison (const T *p, size_t n) |
secure_vector< uint8_t > | Botan::CT::strip_leading_zeros (const secure_vector< uint8_t > &in) |
secure_vector< uint8_t > | Botan::CT::strip_leading_zeros (const uint8_t in[], size_t length) |
template<typename T > | |
constexpr void | Botan::CT::unpoison (const T *p, size_t n) |
template<typename T > | |
constexpr void | Botan::CT::unpoison (T &p) |
template<typename T > | |
constexpr T | Botan::CT::value_barrier (T x) |
Internal Header.
Definition in file ct_utils.h.