Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Galois Keys for N=1024,2048 #646

Open
RasoulAM opened this issue Jun 9, 2023 · 1 comment
Open

Galois Keys for N=1024,2048 #646

RasoulAM opened this issue Jun 9, 2023 · 1 comment

Comments

@RasoulAM
Copy link

RasoulAM commented Jun 9, 2023

Why is it not possible to generate Galois keys for N=1024 and N=2048? Is there a theoretical limitation or is it not implemented in the library? If it's a theoretical limitation, can you point me to a paper which explains the limitation?

Thanks

@fionser
Copy link
Contributor

fionser commented Jun 19, 2023

Current SEAL implementation uses one prime for the noise control (ie., the so call special prime).
On the other hand, for small Ns (eg. 1024, 2048), we can not have many bits for the modulus already to make sure
the scheme is secure. As a result, SEAL do not generate Galois keys for such small Ns.

However, if you need Galois for such smaller parameter, you might need to implement the digit-decomposition version of Galois key which does not need the extra special prime. Check out the ancient SEAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants