
Switch a public-key ciphertext to the small modulus and dimension
Source:R/binfhe-keys.R
switch_ct_to_qn.RdA ciphertext encrypted under a public key has modulus Q and
dimension N. switch_ct_to_qn() converts it to modulus q and
dimension n, the form the gates take.
Arguments
- ctx
A
BinFHEContext.- ksk
An LWESwitchingKey, from
get_switch_key()orbin_key_switch_gen().- ct
An
LWECiphertextof modulusQand dimensionN.