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[hefloat/bootstrapping]: bootstrapping.NewEvaluator modifies bootstrapping.Parameters #460

Open
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

Instantiating a bootstrapping.Evaluator modifies the bootstrapping.Parameters template that is given as input. Reusing the same bootstrapping.Parameters to instantiate a second bootstrapping.Evaluator produces a bootstrapping.Evaluator that has incorrect internal initialization of the plaintext constants.

This bug is caused by

  1. The bootstrapping.Parameters having some field that are pointer to values
  2. The bootstrapping.Parameters being copied in the bootstrapping.Evaluator without allocating new pointers for the said values
  3. The said values then being modified by the bootstrapping.Evaluator
@Pro7ech Pro7ech added the bug Something isn't working label 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