-
Notifications
You must be signed in to change notification settings - Fork 58
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
Support <scheme>.sub_plain
for OpenFHE backend
#1200
Comments
I think OpenFHE's EvalMul and EvalAdd are overloaded to support ciphertext-ciphertext and ciphertext-plaintext |
Yep, and those the pipeline already supports. But I'm not sure its supported for EvalSub in OpenFHE? If not, that just means we need to translate it to "negate plaintext, then add" (assuming that's the direction the op is defined in, which I don't recall right now 🙈 ) |
Oh! Gotcha - I think you're right about that and having some kind of rewrite/canonicalization pattern. |
Fixes #1200 Seems like openfhe does expose an overload to EvalSub that allows ct-pt. PiperOrigin-RevId: 718504746
Fixes #1200 Seems like openfhe does expose an overload to EvalSub that allows ct-pt. PiperOrigin-RevId: 718504746
Fixes #1200 Seems like openfhe does expose an overload to EvalSub that allows ct-pt. PiperOrigin-RevId: 718504746
Fixes #1200 Seems like openfhe does expose an overload to EvalSub that allows ct-pt. PiperOrigin-RevId: 718504746
Fixes #1200 Seems like openfhe does expose an overload to EvalSub that allows ct-pt. PiperOrigin-RevId: 718504746
Currently, we have
bgv.sub_plain
andckks.sub_plain
but no way to target them to OpenFHEThe text was updated successfully, but these errors were encountered: