insert_eval_sum_key: Insert a joined sum-key map into the cc registry

View source: R/eval-key-map.R

insert_eval_sum_keyR Documentation

Insert a joined sum-key map into the cc registry

Description

After combining multi-party shares via multi_add_eval_sum_keys(), the joined map has to be inserted back into the cc's internal static registry before eval_sum() can consume it. insert_eval_sum_key() routes the map through CryptoContextImpl::InsertEvalSumKey (which delegates internally to InsertEvalAutomorphismKey — the same static storage is shared between the two surfaces).

Usage

insert_eval_sum_key(eval_key_map, key_tag = "")

Arguments

eval_key_map

An EvalKeyMap from multi_add_eval_sum_keys() or constructed through the distributed key-gen flow.

key_tag

Character; the tag to register the map under. Default "".

Value

NULL, invisibly.


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