BinFHE enums

Parameter Set

class openfhe.BINFHE_PARAMSET

Bases: pybind11_object

Members:

TOY

MEDIUM

STD128_LMKCDEY

STD128_AP

STD128

STD192

STD256

STD128Q

STD128Q_LMKCDEY

STD192Q

STD256Q

STD128_3

STD128_3_LMKCDEY

STD128Q_3

STD128Q_3_LMKCDEY

STD192Q_3

STD256Q_3

STD128_4

STD128_4_LMKCDEY

STD128Q_4

STD128Q_4_LMKCDEY

STD192Q_4

STD256Q_4

SIGNED_MOD_TEST

MEDIUM = <BINFHE_PARAMSET.MEDIUM: 1>
SIGNED_MOD_TEST = <BINFHE_PARAMSET.SIGNED_MOD_TEST: 23>
STD128 = <BINFHE_PARAMSET.STD128: 4>
STD128Q = <BINFHE_PARAMSET.STD128Q: 7>
STD128Q_3 = <BINFHE_PARAMSET.STD128Q_3: 13>
STD128Q_3_LMKCDEY = <BINFHE_PARAMSET.STD128Q_3_LMKCDEY: 14>
STD128Q_4 = <BINFHE_PARAMSET.STD128Q_4: 19>
STD128Q_4_LMKCDEY = <BINFHE_PARAMSET.STD128Q_4_LMKCDEY: 20>
STD128Q_LMKCDEY = <BINFHE_PARAMSET.STD128Q_LMKCDEY: 8>
STD128_3 = <BINFHE_PARAMSET.STD128_3: 11>
STD128_3_LMKCDEY = <BINFHE_PARAMSET.STD128_3_LMKCDEY: 12>
STD128_4 = <BINFHE_PARAMSET.STD128_4: 17>
STD128_4_LMKCDEY = <BINFHE_PARAMSET.STD128_4_LMKCDEY: 18>
STD128_AP = <BINFHE_PARAMSET.STD128_AP: 3>
STD128_LMKCDEY = <BINFHE_PARAMSET.STD128_LMKCDEY: 2>
STD192 = <BINFHE_PARAMSET.STD192: 5>
STD192Q = <BINFHE_PARAMSET.STD192Q: 9>
STD192Q_3 = <BINFHE_PARAMSET.STD192Q_3: 15>
STD192Q_4 = <BINFHE_PARAMSET.STD192Q_4: 21>
STD256 = <BINFHE_PARAMSET.STD256: 6>
STD256Q = <BINFHE_PARAMSET.STD256Q: 10>
STD256Q_3 = <BINFHE_PARAMSET.STD256Q_3: 16>
STD256Q_4 = <BINFHE_PARAMSET.STD256Q_4: 22>
TOY = <BINFHE_PARAMSET.TOY: 0>
property name
property value

BINFHE_METHOD

class openfhe.BINFHE_METHOD

Bases: pybind11_object

Members:

INVALID_METHOD

AP

GINX

LMKCDEY

AP = <BINFHE_METHOD.AP: 1>
GINX = <BINFHE_METHOD.GINX: 2>
INVALID_METHOD = <BINFHE_METHOD.INVALID_METHOD: 0>
LMKCDEY = <BINFHE_METHOD.LMKCDEY: 3>
property name
property value

BinFHE Output

class openfhe.BINFHE_OUTPUT

Bases: pybind11_object

Members:

INVALID_OUTPUT

FRESH

BOOTSTRAPPED

BOOTSTRAPPED = <BINFHE_OUTPUT.BOOTSTRAPPED: 2>
FRESH = <BINFHE_OUTPUT.FRESH: 1>
INVALID_OUTPUT = <BINFHE_OUTPUT.INVALID_OUTPUT: 0>
property name
property value

Binary Gates

class openfhe.BINGATE

Bases: pybind11_object

Members:

OR

AND

NOR

NAND

XOR_FAST

XNOR_FAST

XOR

XNOR

AND = <BINGATE.AND: 1>
NAND = <BINGATE.NAND: 3>
NOR = <BINGATE.NOR: 2>
OR = <BINGATE.OR: 0>
XNOR = <BINGATE.XNOR: 5>
XNOR_FAST = <BINGATE.XNOR_FAST: 12>
XOR = <BINGATE.XOR: 4>
XOR_FAST = <BINGATE.XOR_FAST: 11>
property name
property value