switch_ct_to_qn: Switch a public-key ciphertext to the small modulus and dimension
Description
A 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.
Usage
switch_ct_to_qn(ctx, ksk, ct)
Arguments
- ctx
A BinFHEContext.
- ksk
An LWESwitchingKey, from get_switch_key() or
bin_key_switch_gen().
- ct
An LWECiphertext of modulus Q and dimension N.