Constructor for the CKKS scheme's CCParams surface. Every
argument maps 1:1 to an enabled
CCParams<CryptoContextCKKSRNS>::Set* method. The 8 CKKS-disabled
setters (SetPlaintextModulus, SetEvalAddCount,
SetKeySwitchCount, SetEncryptionTechnique,
SetMultiplicationTechnique, SetPRENumHops, SetMultipartyMode,
SetThresholdNumOfParties) are not exposed.
CKKS is a fixed-point scheme over the complex numbers and has no
plaintext modulus; threshold_num_of_parties is currently
CKKS-disabled upstream even though the scheme supports threshold
variants via a separate code path.
CKKSParams(
multiplicative_depth = NULL,
scaling_mod_size = NULL,
scaling_technique = NULL,
batch_size = NULL,
first_mod_size = NULL,
security_level = NULL,
secret_key_dist = NULL,
key_switch_technique = NULL,
ring_dim = NULL,
digit_size = NULL,
num_large_digits = NULL,
interactive_boot_compression_level = NULL,
standard_deviation = NULL,
register_word_size = NULL,
ckks_data_type = NULL,
max_relin_sk_deg = NULL,
pre_mode = NULL,
execution_mode = NULL,
decryption_noise_mode = NULL,
noise_estimate = NULL,
desired_precision = NULL,
statistical_security = NULL,
num_adversarial_queries = NULL,
composite_degree = NULL
)A CKKSParams S7 object.
See the BFV entry.
Integer bit-size of the CKKS rescaling
factor (typically 50 or 59 bits). Together with
multiplicative_depth this pins the modulus chain and therefore
the precision budget available at the bottom of the circuit.
Upstream default varies by scaling technique; when in doubt use
the value the matching Python example uses.
See the BGV entry. CKKS additionally
supports NORESCALE (debug-only) and the
COMPOSITESCALING* modes.
See the BFV entry.
See the BGV entry.
See the BFV entry.
See the BFV entry.
See the BFV entry. CKKS typically
benefits from HYBRID.
See the BFV entry.
See the BFV entry.
See the BFV entry.
One of
CompressionLevel$COMPACT (2) or SLACK (3). Controls the
compression level to which the input ciphertext is brought
before interactive multi-party bootstrapping. COMPACT is more
efficient but assumes a stronger security model; SLACK is
less efficient with weaker assumptions. Used by the tckks- interactive-mp-bootstrapping* Python examples.
See the BFV entry.
Integer word size (in bits) for the register-based multi-precision arithmetic path. Default leaves it to upstream. Used by the simple-real-numbers-composite- scaling Python example.
One of CKKSDataType$REAL (default) or
COMPLEX. Selects whether CKKS plaintexts are modeled as
real vectors or complex vectors. All current R vignettes use
REAL.
see the BFV entry.
see the BFV entry.
one of
ExecutionMode$EXEC_EVALUATION (default) or
EXEC_NOISE_ESTIMATION. The noise-estimation mode is only
used by the adversarial-query noise-flooding path.
one of
DecryptionNoiseMode$FIXED_NOISE_DECRYPT (default) or
NOISE_FLOODING_DECRYPT.
numeric noise estimate
used by the noise-flooding path. Paired with execution_mode = EXEC_NOISE_ESTIMATION.
numeric target precision (in bits) for the noise-flooding path.
see the BGV entry.
see the BGV entry.
composite scaling
degree for the COMPOSITESCALING* scaling techniques. Upstream
default 0 means single-prime scaling.