|
ComputeFHE 1.0
General-Purpose Privacy-Preserving Computation Library for TFHE
|
Primary management class and entry point for the ComputeFHE library. More...
#include <computefhe/ALUOptimized.h>#include <computefhe/ALUStandard.h>#include <computefhe/BaseALU.h>#include <computefhe/BaseALUSimulator.h>#include <computefhe/CFHETypes.h>#include <computefhe/ConditionManager.h>#include <computefhe/Efixedpoint.h>#include <computefhe/Einteger.h>#include <computefhe/Evector.h>#include <computefhe/FixedPoint.h>#include <computefhe/SimOptimized.h>#include <computefhe/SimStandard.h>#include <openfhe/binfhe/binfhecontext.h>#include <vector>

Go to the source code of this file.
Classes | |
| class | computefhe::ComputeFHE |
| The core manager class for the ComputeFHE library. More... | |
Functions | |
| void | computefhe::Init (CryptoContextParam cc_param=CCPARAM_STD128_3, ALUType alu_type=ALU_OPTIMIZED, bool client_mode=false, bool simulation_mode=false) |
| Initializes the global ComputeFHE environment and cryptographic context. | |
| void | computefhe::Finalize () |
| Shuts down the ComputeFHE environment and releases global resources. | |
Variables | |
| ComputeFHE * | computefhe::cfhe_base |
| bool | computefhe::CLIENT_MODE |
Primary management class and entry point for the ComputeFHE library.
| void computefhe::Finalize | ( | ) |
Shuts down the ComputeFHE environment and releases global resources.
This should be called at the end of the application lifecycle to ensure that the global singleton is properly destroyed and memory is freed.
| void computefhe::Init | ( | CryptoContextParam | cc_param = CCPARAM_STD128_3, |
| ALUType | alu_type = ALU_OPTIMIZED, |
||
| bool | client_mode = false, |
||
| bool | simulation_mode = false |
||
| ) |
Initializes the global ComputeFHE environment and cryptographic context.
| cc_param | Cryptographic context parameters defining security levels. |
| alu_type | The ALU implementation to use. |
| client_mode | Toggles between client and server execution modes. |
| simulation_mode | Enables or disables simulation mode for testing purposes. |