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

key switching in CKKS #689

Open
kumarm17 opened this issue May 28, 2024 · 0 comments
Open

key switching in CKKS #689

kumarm17 opened this issue May 28, 2024 · 0 comments

Comments

@kumarm17
Copy link

kumarm17 commented May 28, 2024

From analyzing the code for generating key-switching, it appears to follow the structure ( P \cdot s^2 - as + e ). However, based on the SEAL issue discussions, it seems to implement the HPS paper's method for key-switching as ( \tilde{q}_i \cdot q_i \cdot s^2 - as + e ) in RNS.

Is SEAL implementing the GHS variant of key-switching rather than the hybrid variant? Additionally, why does SEAL use only one ( P ), while the referenced papers describe multiple ( P_i )'s?

@kumarm17 kumarm17 changed the title Maths behind switching level in CKKS key switching in CKKS Jan 20, 2025
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

1 participant