Botan 3.11.0
Crypto and TLS for C&
mem_utils.h File Reference

Internal Header. More...

#include <botan/types.h>
#include <concepts>
#include <cstring>
#include <span>
#include <string>
#include <string_view>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  Botan

Functions

template<typename... Ptrs>
bool Botan::any_null_pointers (Ptrs... ptr)
std::span< const uint8_t > Botan::as_span_of_bytes (const char *s, size_t len)
std::span< const uint8_t > Botan::as_span_of_bytes (const std::string &s)
std::span< const uint8_t > Botan::as_span_of_bytes (std::string_view s)
std::string Botan::bytes_to_string (std::span< const uint8_t > bytes)
std::span< const uint8_t > Botan::cstr_as_span_of_bytes (const char *s)
void Botan::secure_zeroize_buffer (void *ptr, size_t n)
template<std::unsigned_integral T>
void Botan::unchecked_copy_memory (T *out, const T *in, size_t n)
template<std::unsigned_integral T>
void Botan::zeroize_buffer (T buf[], size_t n)

Detailed Description

Internal Header.

Definition in file mem_utils.h.