
Insert an EvalMult key vector into the cc registry
Source:R/serialization.R
insert_eval_mult_key.RdAdds a vector of EvalKey objects to the CryptoContext's
internal EvalMult-key map under key_tag. Silently replaces
any existing matching keys. If key_tag is the empty string
("", the default), the tag is retrieved from the eval-key
vector itself (each EvalKey carries its own tag).
Arguments
- eval_keys
A list of
EvalKeyobjects (frommulti_key_switch_gen(),multi_add_eval_mult_keys(), or from a deserialization).- key_tag
Character; the tag to register the vector under. Default
""(auto-detect from the first eval key in the vector).
Details
Used in checkpoint/resume workflows: after
fhe_deserialize_eval_keys() or multi_add_eval_mult_keys()
produces a combined eval-mult key vector, this function
registers it into the cc's internal storage so that
subsequent eval_mult() calls on ciphertexts encrypted
under the associated party's key can consume it.