modSwitchNext method

Ciphertext modSwitchNext(
  1. Ciphertext ciphertext
)

Modulus switches the Ciphertext to a next lower level.

Implementation

Ciphertext modSwitchNext(Ciphertext ciphertext) {
  _c_mod_switch_next(library, ciphertext.obj);
  raiseForStatus();
  return ciphertext;
}