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

View source: R/methods-eval-backlog.R

eval_mult_keys_genR Documentation

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)

Arguments

cc

A CryptoContext.

sk

A PrivateKey.

Value

NULL, invisibly.


openfhe.R documentation built on Nov. 13, 2026, 5:07 p.m.