zama-ai / tfhe-rs

TFHE-rs: A Pure Rust implementation of the TFHE Scheme for Boolean and Integer Arithmetics Over Encrypted Data.
Other
903 stars 143 forks source link

fix(shortint): count PBS in trivial_many_lut #1260

Closed tmontaigu closed 3 months ago

tmontaigu commented 3 months ago

We forgot increase the number of PBSes when doing a many_lut PBS on a trivial input.

This fixes that, and changes the many_lut test to test the result on trivial ciphertext and also test that the PBS count is correct.