Intel HEXL
Intel Homomorphic Encryption Acceleration Library, accelerating the modular arithmetic operations used in homomorphic encryption.
|
Helper class for custom memory allocation. More...
#include <ntt.hpp>
Public Member Functions | |
AllocatorAdapter (Adaptee &&_a, Args &&... args) | |
AllocatorAdapter (const Adaptee &_a, Args &... args) | |
void * | allocate_impl (size_t bytes_count) |
void | deallocate_impl (void *p, size_t n) |
![]() | |
void * | allocate (size_t bytes_count) override |
Override interface and delegate implementation to AllocatorImpl. More... | |
void | deallocate (void *p, size_t n) override |
Override interface and delegate implementation to AllocatorImpl. More... | |
![]() | |
virtual | ~AllocatorBase () noexcept |
Helper class for custom memory allocation.
|
explicit |
intel::hexl::NTT::AllocatorAdapter< Adaptee, Args >::AllocatorAdapter | ( | const Adaptee & | _a, |
Args &... | args | ||
) |
void* intel::hexl::NTT::AllocatorAdapter< Adaptee, Args >::allocate_impl | ( | size_t | bytes_count | ) |
void intel::hexl::NTT::AllocatorAdapter< Adaptee, Args >::deallocate_impl | ( | void * | p, |
size_t | n | ||
) |