pascoec finds slot-count bugs in CKKS functional bootstrapping
Nov 24 find · published Nov 17GHGitHub · @pascoec · 2 min readRead original
GitHub issue on OpenFHECKKS functional bootstrappingOpenFHE maintainers and contributors
OpenFHE maintainer pascoec identified two bugs in the RLWE schemelet used with CKKS functional bootstrapping. ConvertRLWEToCKKS ignores its slots argument, causing the ciphertext to carry the batch size instead of the requested slot count, which makes EvalFBT fail or produce wrong outputs when they differ. DecryptCoeff fails to validate numSlots and length, allowing stride calculations that read past polynomial bounds, causing wrong outputs or crashes. Both bugs have existed since the schemelet was added in issue #1024. pascoec proposes fixes: passing slots to MakeCKKSPackedPlaintext, and adding validation to DecryptCoeff with bounds checks and error messages.
Comments
Sign in to join the conversation.