Module bfv

Source
Expand description

Contains an implementation of the BFV scheme.

Modules§

bootstrap
Contains the implementation of bootstrapping for BFV.

Structs§

CompositeBFV
Instantiation of BFV over odd, composite cyclotomic rings Z[X]/(Phi_n(X)) with n = n1 n2 and n2, n2 odd coprime integers. Ciphertexts are represented in double-RNS form. If single-RNS form is instead requires, use CompositeSingleRNSBFV.
CompositeSingleRNSBFV
Instantiation of BFV over odd, composite cyclotomic rings Z[X]/(Phi_n(X)) with n = n1 n2 and n2, n2 odd coprime integers. Ciphertexts are represented in single-RNS form. If double-RNS form is instead requires, use CompositeBFV.
Pow2BFV
Instantiation of BFV in power-of-two cyclotomic rings Z[X]/(X^N + 1) for N a power of two.

Traits§

BFVCiphertextParams
Trait for types that represent an instantiation of BFV.

Functions§

small_basis_repr

Type Aliases§

Ciphertext
CiphertextRing
GadgetProductOperand
KeySwitchKey
NumberRing
PlaintextRing
RelinKey
SecretKey