ComputeFHE 1.0
General-Purpose Privacy-Preserving Computation Library for TFHE
Loading...
Searching...
No Matches
Classes | Functions | Variables
ComputeFHE.h File Reference

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>
Include dependency graph for ComputeFHE.h:
This graph shows which files directly or indirectly include this file:

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

ComputeFHEcomputefhe::cfhe_base
 
bool computefhe::CLIENT_MODE
 

Detailed Description

Primary management class and entry point for the ComputeFHE library.

Function Documentation

◆ Finalize()

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.

◆ Init()

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.

Parameters
cc_paramCryptographic context parameters defining security levels.
alu_typeThe ALU implementation to use.
client_modeToggles between client and server execution modes.
simulation_modeEnables or disables simulation mode for testing purposes.