Skip to contents

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)

Arguments

cc

A CryptoContext.

sk

A PrivateKey.

Value

NULL, invisibly.