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

mp-spdz-rs: fhe: Setup params using CurveGroup's scalar field modulus #56

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

joeykraut
Copy link
Member

Purpose

This PR sets up the FHE params using a plaintext modulus equal to the modulus of the CurveGroup's scalar field. This allows us to do full Scalar arithmetic with correct residue behavior.

Testing

  • Removed all bitlength bounds on tests, tests pass

@joeykraut joeykraut force-pushed the joey/setup-field-prime branch from 47b6ce4 to 0a9232d Compare April 4, 2024 22:33
@joeykraut joeykraut force-pushed the joey/scalar-interface branch from b31b08f to 193aac0 Compare April 4, 2024 22:37
Base automatically changed from joey/scalar-interface to master April 4, 2024 22:38
@joeykraut joeykraut force-pushed the joey/setup-field-prime branch from 0a9232d to 61d49ec Compare April 4, 2024 22:39
@joeykraut joeykraut requested a review from akirillo April 4, 2024 22:40
@joeykraut joeykraut merged commit 09cddd6 into master Apr 4, 2024
1 of 4 checks passed
@joeykraut joeykraut deleted the joey/setup-field-prime branch April 4, 2024 23:38
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.

2 participants