Skip to content

deterministic GenGaloisKeysNew? #397

Answered by ChristianMct
fedejinich asked this question in Q&A
Discussion options

You must be logged in to vote

This is an expected behavior. All (centralized) public-key generation functions are sampling "fresh" RLWE samples. I.e., they sample fresh public polynomial vector a and fresh secret error vector e at each call, so they output fresh keys (sa + X + e, a) (for X a variable that depends on the type of public key). There is currently no easy way to obtain a deterministic generation. The only way would be to re-implement the key-generation algo from the ring package, with seeded samplers.

That said, we are aware that this can be a problem, and we are planning to add the possibility of seeding the PRNGs behind our API.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fedejinich
Comment options

Answer selected by Pro7ech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants