HEBench
tutorial_engine_palisade.h
Go to the documentation of this file.
1 
2 // Copyright (C) 2021 Intel Corporation
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #pragma once
6 
8 
10 #include <palisade.h>
11 
12 #define HEBENCH_HE_SCHEME_PLAIN 0
13 #define HEBENCH_HE_SECURITY_NONE 0
14 #define TUTORIAL_HE_SECURITY_128 1
15 
16 class TutorialEngine : public hebench::cpp::BaseEngine
17 {
18 public:
19  HEBERROR_DECLARE_CLASS_NAME(ExampleEngine)
20 
21 public:
22  static TutorialEngine *create();
23  static void destroy(TutorialEngine *p);
24 
25  ~TutorialEngine() override;
26 
27 protected:
28  TutorialEngine();
29 
30  void init() override;
31 };
32 
Base class that encapsulates common behavior of backend engines.
Definition: engine.hpp:70
#define HEBERROR_DECLARE_CLASS_NAME(class_name)