Botan 3.1.1
Crypto and TLS for C&
Classes | Namespaces | Functions
ct_utils.h File Reference

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.


class  Botan::CT::Mask< T >


namespace  Botan
namespace  Botan::CT


template<typename T >
CT::Mask< TBotan::CT::all_zeros (const T elem[], size_t len)
template<typename T >
Mask< TBotan::CT::conditional_assign_mem (T cnd, T *sink, const T *src, size_t elems)
template<typename T >
Mask< TBotan::CT::conditional_copy_mem (T cnd, T *to, const T *from0, const T *from1, size_t elems)
template<typename T >
void Botan::CT::conditional_swap (bool cnd, T &x, T &y)
template<typename T >
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 >
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 >
void Botan::CT::unpoison (const T *p, size_t n)
template<typename T >
void Botan::CT::unpoison (T &p)

Detailed Description

Internal Header.

Definition in file ct_utils.h.