Learn R Programming

openfhe.R (version 1.6.1)

eval_mult_keys_gen: Generate relinearization keys for higher powers of the secret key

Description

Generates the keys that relinearize a ciphertext of more than three elements, as eval_mult_no_relin() produces when it is applied repeatedly: one key for each power of the secret key up to the max_relin_sk_deg of the context. eval_mult_key_gen() generates the key for the second power only.

Usage

eval_mult_keys_gen(cc, sk)

Value

NULL, invisibly.

Arguments

cc

A CryptoContext.

sk

A PrivateKey.