HelibConfig#
- class HelibConfig#
A class for holding HElib configuration parameters. It doesn’t yet cover all of HElib flags.
- property L#
- property c#
- property enable_conjugate#
- init_preset(self: pyhelayers.HelibConfig, preset: pyhelayers.HelibPreset) None #
Initializes configuration based on preset.
- Parameters:
preset (HelibPreset) – The preset configuration.
- load_from_buffer(self: pyhelayers.HelibConfig, buf: bytes) None #
Loads this HelibConfig from a buffer.
- Parameters:
buf – a memory buffer to load the HelibConfig from.
- property m#
- property p#
- property r#
- save_to_buffer(self: pyhelayers.HelibConfig) bytes #
Saves this HelibConfig into a buffer.
- Returns:
a memory buffer containing the saved HelibConfig.
-
struct HelibConfig#
A class for holding HElib configuration parameters.
It doesn’t yet cover all of HElib flags.
Public Functions
-
void initPreset(HelibPreset preset)#
Initializes configuration based on preset.
-
void load(std::istream &in)#
Loads this HelibConfig from a binary stream.
- Parameters:
in – The stream to load from.
-
void save(std::ostream &out) const#
Saves this HelibConfig to a binary stream.
- Parameters:
out – The stream to save to.
-
void initPreset(HelibPreset preset)#