
Generate relinearization (eval-mult) keys for a secret key
Source:R/eval-key-map.R
eval_mult_key_gen.RdStandalone wrapper around the
CryptoContext::EvalMultKeyGen(privateKey) C++ method.
Populates the CryptoContext's internal eval-mult registry
(keyed by the secret key's tag) so that ciphertext ×
ciphertext multiplication can be relinearized.
Details
key_gen() folds this into its eval_mult = TRUE branch as
a convenience for fresh keypairs. The standalone wrapper is
the right entry point when the secret key already exists —
for example in any threshold or multi-party flow that holds
a secret-key share but did not generate it through
key_gen().