Botan  2.8.0
Crypto and TLS for C++11
Namespaces | Functions
loadstor.h File Reference
#include <botan/types.h>
#include <botan/bswap.h>
#include <botan/mem_ops.h>
#include <vector>

Go to the source code of this file.

Namespaces

 Botan
 

Functions

template<typename T >
void Botan::copy_out_be (uint8_t out[], size_t out_bytes, const T in[])
 
template<typename T >
void Botan::copy_out_le (uint8_t out[], size_t out_bytes, const T in[])
 
template<typename T , typename Alloc >
void Botan::copy_out_vec_be (uint8_t out[], size_t out_bytes, const std::vector< T, Alloc > &in)
 
template<typename T , typename Alloc >
void Botan::copy_out_vec_le (uint8_t out[], size_t out_bytes, const std::vector< T, Alloc > &in)
 
template<typename T >
uint8_t Botan::get_byte (size_t byte_num, T input)
 
template<typename T >
T Botan::load_be (const uint8_t in[], size_t off)
 
template<typename T >
void Botan::load_be (const uint8_t in[], T &x0, T &x1)
 
template<typename T >
void Botan::load_be (const uint8_t in[], T &x0, T &x1, T &x2, T &x3)
 
template<typename T >
void Botan::load_be (const uint8_t in[], T &x0, T &x1, T &x2, T &x3, T &x4, T &x5, T &x6, T &x7)
 
template<typename T >
void Botan::load_be (T out[], const uint8_t in[], size_t count)
 
template<>
uint16_t Botan::load_be< uint16_t > (const uint8_t in[], size_t off)
 
template<>
uint32_t Botan::load_be< uint32_t > (const uint8_t in[], size_t off)
 
template<>
uint64_t Botan::load_be< uint64_t > (const uint8_t in[], size_t off)
 
template<typename T >
T Botan::load_le (const uint8_t in[], size_t off)
 
template<typename T >
void Botan::load_le (const uint8_t in[], T &x0, T &x1)
 
template<typename T >
void Botan::load_le (const uint8_t in[], T &x0, T &x1, T &x2, T &x3)
 
template<typename T >
void Botan::load_le (const uint8_t in[], T &x0, T &x1, T &x2, T &x3, T &x4, T &x5, T &x6, T &x7)
 
template<typename T >
void Botan::load_le (T out[], const uint8_t in[], size_t count)
 
template<>
uint16_t Botan::load_le< uint16_t > (const uint8_t in[], size_t off)
 
template<>
uint32_t Botan::load_le< uint32_t > (const uint8_t in[], size_t off)
 
template<>
uint64_t Botan::load_le< uint64_t > (const uint8_t in[], size_t off)
 
uint16_t Botan::make_uint16 (uint8_t i0, uint8_t i1)
 
uint32_t Botan::make_uint32 (uint8_t i0, uint8_t i1, uint8_t i2, uint8_t i3)
 
uint64_t Botan::make_uint64 (uint8_t i0, uint8_t i1, uint8_t i2, uint8_t i3, uint8_t i4, uint8_t i5, uint8_t i6, uint8_t i7)
 
void Botan::store_be (uint16_t in, uint8_t out[2])
 
void Botan::store_be (uint32_t in, uint8_t out[4])
 
void Botan::store_be (uint64_t in, uint8_t out[8])
 
template<typename T >
void Botan::store_be (uint8_t out[], T x0, T x1)
 
template<typename T >
void Botan::store_be (uint8_t out[], T x0, T x1, T x2, T x3)
 
template<typename T >
void Botan::store_be (uint8_t out[], T x0, T x1, T x2, T x3, T x4, T x5, T x6, T x7)
 
void Botan::store_le (uint16_t in, uint8_t out[2])
 
void Botan::store_le (uint32_t in, uint8_t out[4])
 
void Botan::store_le (uint64_t in, uint8_t out[8])
 
template<typename T >
void Botan::store_le (uint8_t out[], T x0, T x1)
 
template<typename T >
void Botan::store_le (uint8_t out[], T x0, T x1, T x2, T x3)
 
template<typename T >
void Botan::store_le (uint8_t out[], T x0, T x1, T x2, T x3, T x4, T x5, T x6, T x7)