microsoft / SEAL

Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.
https://www.microsoft.com/en-us/research/group/cryptography-research/
MIT License
3.46k stars 694 forks source link

Relinearization for smaller N sizes #691

Open mayank-kabra2001 opened 1 month ago

mayank-kabra2001 commented 1 month ago

Hi everyone, I have a simple doubt. While running performance.cpp to get the latency results, why doesnot the relinearization happen for N=1024 and 2048. The variable context.use_keyswitching() is zero whenever N size is smaller. For N sizes greater than 2048, i.e. 4096 and 8192 .. We use relinearization. Can somebody explain this ?