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

Export remainder component from SEAL encryption #6

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

ryanorendorff
Copy link
Collaborator

SEAL does not quite perform the standard BFV encryption. Instead of

floor(q/t)*m + p_0 * u + e_1

it does something similar to a round:

floor(q/t)*m + frac(q/t)*m + p_0 * u + e_1

This component is already calculated by SEAL, so we export it instead of calculating it again somewhere.

Copy of #5 but against the correct base branch.

SEAL does not quite perform the standard BFV encryption. Instead of

floor(q/t)*m + p_0 * u + e_1

it does something similar to a round:

floor(q/t)*m + frac(q/t)*m + p_0 * u + e_1

This component is already calculated by SEAL, so we export it instead of
calculating it again somewhere.
@ryanorendorff ryanorendorff merged commit 4fb2862 into sunscreen Aug 10, 2023
1 check passed
@ryanorendorff ryanorendorff deleted the remainder_export_rebase branch August 10, 2023 17:36
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

Successfully merging this pull request may close these issues.

1 participant