Sergiu Carpov
Sergiu Carpov
-5 mod 1021 == 1016 When you decrypt you should add -1021 to the result if it's larger than 510.
The mux function `bootsMUX` in file https://github.com/tfhe/tfhe/blob/2c228a3e1a7a79df09d7d349542ac743227741f0/src/libtfhe/boot-gates.cpp has 2 expensive parts (lines 342-347 and lines 351-355) which are independent and can be parallelized. We did not implement this parallelization but...
> Executing optimization command "resyn2rs" > x depth 0, x gates 0, + gates 0 In your second example, you are trying to sort a plaintext vector. That's why the...
In the first example the multiplicative depth is 25 and it's huge! BFV schemes are suited for small depth circuits where you can batch data in a SIMD way. You...
You cannot do it directly. You shall try to add a getter to `obj_hdl` member of CiBit.