purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
secret.hpp File Reference

Secret-owning Purify key material wrappers.

#include <cstddef>
#include <memory>
#include <string_view>
#include <type_traits>
#include <utility>
#include "purify/curve.hpp"

Go to the source code of this file.

Data Structures

class  purify::detail::SecureAllocator< T >
 Allocator that clears an allocation immediately before releasing it. More...
struct  purify::detail::SecureAllocator< T >::rebind< U >
struct  purify::detail::SecureUInt512Deleter
class  purify::SecretKey
 Move-only packed Purify secret stored in dedicated heap memory. More...

Namespaces

namespace  purify
namespace  purify::detail

Functions

void purify::detail::secure_clear_bytes (void *data, std::size_t size) noexcept
template<typename T, typename U>
bool purify::detail::operator== (const SecureAllocator< T > &, const SecureAllocator< U > &) noexcept