sarojaduality

Results 6 issues of sarojaduality

In order to use MakePackedPlaintext in BFV/BGV, a user needs to choose a prime plaintext modulus t = 1 (mod m). However, this is difficult to do currently because the...

We have APIs for SerializeEvalMultKey and SerializeEvalAutomorphismKey. We should add one for bootstrapping keys. Maybe it is possible to serialize bootstrapping keys with the SerializeEvalAutomorphismKey API, but we need to...

new feature

Check whether KEYSWITCH can be removed from enum PKESchemeFeature.

cleanup

There is a lot of repeated code in PrecomputeCRTTables. We can make functions to generate CRT tables for different functions in DCRTPoly.cpp, and store them in structs.

In the EncodeVec function of the CoefPackedEncoding, when encoding negative values, we encode t - abs(value), where t is the plaintext modulus. Before, we used q - abs(value), where q...

optimization