29 return TutorialEngine::create();
34 TutorialEngine *_p =
dynamic_cast<TutorialEngine *
>(p);
35 TutorialEngine::destroy(_p);
45 TutorialEngine *TutorialEngine::create()
47 TutorialEngine *p_retval =
new TutorialEngine();
52 void TutorialEngine::destroy(TutorialEngine *p)
58 TutorialEngine::TutorialEngine()
62 TutorialEngine::~TutorialEngine()
67 void TutorialEngine::init()
72 addErrorCode(TUTORIAL_ECODE_SEAL_ERROR,
"SEAL error.");
86 addSecurityName(TUTORIAL_HE_SECURITY_128,
"128 bits");
91 addBenchmarkDescription(std::make_shared<TutorialEltwiseAddBenchmarkDescription>());
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().
#define HEBENCH_HE_SCHEME_BFV