LattigoContext#

class LattigoContext#

An implementation of HeContext using the Lattigo backend.

init(self: pyhelayers.LattigoContext, req: pyhelayers.HeConfigRequirement) None#

Initializes this LattigoContext according the given requirement.

Parameters:

req – an HeConfigRequirement object, indicating the required configuration parameters (e.g. securityLevel, numSlots).

Raises:

RuntimeError – if it is not possible to fulfill the given requirement.