Botan 3.8.1
Crypto and TLS for C&
secmem.h File Reference

Public Header. More...

#include <botan/allocator.h>
#include <botan/types.h>
#include <algorithm>
#include <type_traits>
#include <vector>
#include <deque>

Go to the source code of this file.

Classes

class  Botan::secure_allocator< T >
 

Namespaces

namespace  Botan
 

Typedefs

template<typename T>
using Botan::secure_deque = std::deque<T, secure_allocator<T>>
 
template<typename T>
using Botan::secure_vector = std::vector<T, secure_allocator<T>>
 
template<typename T>
using Botan::SecureVector = secure_vector<T>
 

Functions

template<typename T>
secure_vector< T > Botan::lock (const std::vector< T > &in)
 
template<typename T, typename U>
bool Botan::operator!= (const secure_allocator< T > &, const secure_allocator< U > &)
 
template<typename T, typename Alloc, typename L>
std::vector< T, Alloc > & Botan::operator+= (std::vector< T, Alloc > &out, const std::pair< const T *, L > &in)
 
template<typename T, typename Alloc, typename L>
std::vector< T, Alloc > & Botan::operator+= (std::vector< T, Alloc > &out, const std::pair< T *, L > &in)
 
template<typename T, typename Alloc, typename Alloc2>
std::vector< T, Alloc > & Botan::operator+= (std::vector< T, Alloc > &out, const std::vector< T, Alloc2 > &in)
 
template<typename T, typename Alloc>
std::vector< T, Alloc > & Botan::operator+= (std::vector< T, Alloc > &out, T in)
 
template<typename T, typename U>
bool Botan::operator== (const secure_allocator< T > &, const secure_allocator< U > &)
 
template<typename T>
std::vector< T > Botan::unlock (const secure_vector< T > &in)
 
template<typename T, typename Alloc>
void Botan::zap (std::vector< T, Alloc > &vec)
 
template<typename T, typename Alloc>
void Botan::zeroise (std::vector< T, Alloc > &vec)
 

Detailed Description

Public Header.

Definition in file secmem.h.