clear_eval_mult_keys: Clear the EvalMult key cache

View source: R/serialization.R

clear_eval_mult_keysR Documentation

Clear the EvalMult key cache

Description

Clears the CryptoContextImpl internal EvalMult key map. With key_tag = NULL (the default), clears the entire cache — equivalent to the no-arg ClearEvalMultKeys() form used by clear_fhe_state(). With a non-NULL key_tag, clears only the entries registered under that tag, preserving everything else. Useful in checkpoint workflows where a single party's keys need to be evicted without wiping the whole registry.

Usage

clear_eval_mult_keys(key_tag = NULL)

Arguments

key_tag

NULL (default) to clear everything, or a character scalar to clear only one tag's entries.

Value

NULL, invisibly.

See Also

clear_fhe_state(), clear_eval_automorphism_keys()


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