| BFVParams | R Documentation |
Constructor for the BFV scheme's CCParams surface. Every argument
maps 1:1 to an upstream CCParams<CryptoContextBFVRNS>::Set* method
whose override is not disabled in the BFV specialization. The 13
setters that BFV explicitly disables (SetScalingTechnique,
SetFirstModSize, SetPRENumHops, SetExecutionMode, …) are not
exposed here.
BFVParams(
plaintext_modulus = NULL,
multiplicative_depth = NULL,
scaling_mod_size = NULL,
batch_size = NULL,
security_level = NULL,
secret_key_dist = NULL,
key_switch_technique = NULL,
ring_dim = NULL,
digit_size = NULL,
num_large_digits = NULL,
standard_deviation = NULL,
multiparty_mode = NULL,
threshold_num_of_parties = NULL,
multiplication_technique = NULL,
max_relin_sk_deg = NULL,
pre_mode = NULL,
eval_add_count = NULL,
key_switch_count = NULL,
encryption_technique = NULL
)
plaintext_modulus |
Integer modulus |
multiplicative_depth |
Integer depth of the multiplication
circuit the context must support. BFV and BGV grow ciphertext
noise with each multiplication, and the ring modulus |
scaling_mod_size |
Integer bit-size of each intermediate
scaling modulus in the RNS decomposition of |
batch_size |
Integer number of SIMD-batched plaintext slots.
Default is |
security_level |
One of |
secret_key_dist |
One of |
key_switch_technique |
One of |
ring_dim |
Integer power-of-two lattice ring dimension. Default
( |
digit_size |
Integer |
num_large_digits |
Integer number of digit groupings in
HYBRID key switching. Only meaningful when
|
standard_deviation |
Numeric standard deviation of the
Gaussian error distribution used during key generation and
encryption. Default ( |
multiparty_mode |
One of
|
threshold_num_of_parties |
Integer count of parties in an n-of-n threshold protocol. Ignored in non-threshold contexts. The cox-threshold vignette uses 2; the threshold-fhe-5p Python example uses 5. |
multiplication_technique |
One of
|
max_relin_sk_deg |
maximum degree of the secret key that can be relinearized. Upstream default is 2. No current vignette or Python example exercises this; the cpp11 binding is in place so a later release can promote it without a recompile. |
pre_mode |
proxy re-encryption mode
( |
eval_add_count |
upstream noise-budget hint: maximum additions between multiplications. Used only by the noise-flooding path. Default 0. |
key_switch_count |
upstream noise-budget hint: maximum key-switch count. Default 0. |
encryption_technique |
BFV-specific
encryption variant ( |
A BFVParams S7 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.