7 #include "../include/generic_wl_engine.h"
11 #include "../include/generic_wl_benchmark.h"
22 return ExampleEngine::create();
27 ExampleEngine *_p =
dynamic_cast<ExampleEngine *
>(p);
28 ExampleEngine::destroy(_p);
38 ExampleEngine *ExampleEngine::create()
40 ExampleEngine *p_retval =
new ExampleEngine();
45 void ExampleEngine::destroy(ExampleEngine *p)
51 ExampleEngine::ExampleEngine()
55 ExampleEngine::~ExampleEngine()
59 void ExampleEngine::init()
67 addSchemeName(HEBENCH_HE_SCHEME_PLAIN,
"Plain");
71 addSecurityName(HEBENCH_HE_SECURITY_NONE,
"None");
BaseEngine * createEngine(const std::int8_t *p_buffer, std::uint64_t size)
Creates a new BaseEngine object.
void destroyEngine(BaseEngine *p)
Destroys and cleans up resources from an engine created by createEngine().