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

Make ciphertext in power basis representation by default #221

Open
tlepoint opened this issue Nov 8, 2023 · 0 comments
Open

Make ciphertext in power basis representation by default #221

tlepoint opened this issue Nov 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@tlepoint
Copy link
Owner

tlepoint commented Nov 8, 2023

Currently, the lib handles plaintext and ciphertexts in NTT representation.
Instead, it may be desirable to handle them in PowerBasis representation.

  • We should make sure that such a change doesn't impact the performances (it will some of them, so it's important to measure to decide if the change is worth it);
  • The expansion, instead of multiplying with a monomial, should use the fact that we are in power basis representation to easily multiply.
  • To still allow for fast multiplication by plaintext, it should probably store both the poly and poly_ntt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant