Botan  2.11.0
Crypto and TLS for C++11
Classes | Namespaces | Functions | Variables
mem_ops.h File Reference
#include <botan/types.h>
#include <cstring>
#include <vector>

Go to the source code of this file.

Classes

class  Botan::Allocator_Initializer
 

Namespaces

 Botan
 

Functions

std::string Botan::BOTAN_PUBLIC_API (2, 9) base58_encode(const uint8_t input[]
 
std::string BOTAN_PUBLIC_API(2, 0) generate_passhash9(const std bool BOTAN_PUBLIC_API(2, 0) check_passhash9(const std bool Botan::BOTAN_PUBLIC_API (2, 3) is_passhash9_alg_supported(uint8_t alg_id)
 
class BOTAN_PUBLIC_API(2, 0) AlgorithmIdentifier final bool Botan::BOTAN_PUBLIC_API (2, 0) NameConstraints final
 Name Constraints. More...
 
const uint8_t * Botan::cast_char_ptr_to_uint8 (const char *s)
 
uint8_t * Botan::cast_char_ptr_to_uint8 (char *s)
 
const char * Botan::cast_uint8_ptr_to_char (const uint8_t *b)
 
char * Botan::cast_uint8_ptr_to_char (uint8_t *b)
 
void Botan::clear_bytes (void *ptr, size_t bytes)
 
template<typename T >
void Botan::clear_mem (T *ptr, size_t n)
 
bool Botan::constant_time_compare (const uint8_t x[], const uint8_t y[], size_t len)
 
template<typename T >
void Botan::copy_mem (T *out, const T *in, size_t n)
 
void Botan::initialize_allocator ()
 
template<typename Alloc , typename Alloc2 >
std::vector< uint8_t, Alloc > & Botan::operator^= (std::vector< uint8_t, Alloc > &out, const std::vector< uint8_t, Alloc2 > &in)
 
template<typename T >
bool Botan::same_mem (const T *p1, const T *p2, size_t n)
 
void Botan::set_mem (uint8_t *ptr, size_t n, uint8_t val)
 
template<typename T >
void Botan::typecast_copy (uint8_t out[], T in)
 
template<typename T >
void Botan::typecast_copy (T &out, const uint8_t in[])
 
template<typename T >
void Botan::typecast_copy (T out[], const uint8_t in[], size_t N)
 
void Botan::xor_buf (uint8_t out[], const uint8_t in[], size_t length)
 
void Botan::xor_buf (uint8_t out[], const uint8_t in[], const uint8_t in2[], size_t length)
 
template<typename Alloc , typename Alloc2 >
void Botan::xor_buf (std::vector< uint8_t, Alloc > &out, const std::vector< uint8_t, Alloc2 > &in, size_t n)
 
template<typename Alloc >
void Botan::xor_buf (std::vector< uint8_t, Alloc > &out, const uint8_t *in, size_t n)
 
template<typename Alloc , typename Alloc2 >
void Botan::xor_buf (std::vector< uint8_t, Alloc > &out, const uint8_t *in, const std::vector< uint8_t, Alloc2 > &in2, size_t n)
 

Variables

size_t Botan::elem_size
 
size_t Botan::elems