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

Bug[he]: linear tranformation correctness issue #461

Open
Pro7ech opened this issue May 6, 2024 · 0 comments
Open

Bug[he]: linear tranformation correctness issue #461

Pro7ech opened this issue May 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Pro7ech
Copy link
Contributor

Pro7ech commented May 6, 2024

The linear transformations in the package he are instantiated with an auxiliary prime P that is always set to the largest level allowed by the parameters: params.MaxLevelP. However, it is possible to generate Galois keys (and any other evaluation keys) with a smaller level for P, which results in a correctness error when evaluating linear transformations.

A field LevelP should be added to the linear transformation and an error should be returned by the functions in the rlwe package that take ciphertexts mod QP as input if their modulus P level does not match the evaluation key modulus P.

@Pro7ech Pro7ech added the bug Something isn't working label May 6, 2024
@Pro7ech Pro7ech changed the title Bug[he]: linear tranformation correctness issue with custom evaluation keys Bug[he]: linear tranformation correctness issue May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant