Learn R Programming

openfhe.R (version 1.6.1)

insert_eval_sum_key: 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 = "")

Value

NULL, invisibly.

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 "".