multi_add_eval_keys: Combine evaluation keys from multiple parties

View source: R/multiparty.R

multi_add_eval_keysR Documentation

Combine evaluation keys from multiple parties

Description

Combines two partial key-switching eval keys into a joint eval key. See multi_add_eval_mult_keys() for the eval-mult variant — the two functions consume keys produced by different generators and are not interchangeable.

Usage

multi_add_eval_keys(cc, ek1, ek2, key_tag = "")

Arguments

cc

A CryptoContext

ek1, ek2

EvalKey objects to combine

key_tag

Character; optional tag to associate with the combined key. Default "".

Value

A combined EvalKey


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