8 #ifndef BOTAN_MLOCK_ALLOCATOR_H_ 9 #define BOTAN_MLOCK_ALLOCATOR_H_ 11 #include <botan/types.h> 26 void* allocate(
size_t num_elems,
size_t elem_size);
28 bool deallocate(
void* p,
size_t num_elems,
size_t elem_size) noexcept;
39 std::unique_ptr<Memory_Pool> m_pool;
40 std::vector<void*> m_locked_pages;
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_FUTURE_INTERNAL_HEADER(hdr)