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

Ns/zk curve conformance #1743

Merged
merged 2 commits into from
Nov 7, 2024
Merged

Ns/zk curve conformance #1743

merged 2 commits into from
Nov 7, 2024

Conversation

nsarlin-zama
Copy link
Contributor

@nsarlin-zama nsarlin-zama commented Oct 31, 2024

Closes: https://github.com/zama-ai/tfhe-rs-internal/issues/744

Adds conformance for zk proof and crs.

Proof conformance checks that the points are on the curve and in the correct subgroup.
Crs conformance also checks that the crs is valid for the parameters.

@cla-bot cla-bot bot added the cla-signed label Oct 31, 2024
@nsarlin-zama nsarlin-zama force-pushed the ns/zk_curve_conformance branch 2 times, most recently from ff58f71 to 123251d Compare October 31, 2024 16:05
tfhe-zk-pok/src/proofs/mod.rs Outdated Show resolved Hide resolved
tfhe-zk-pok/src/proofs/mod.rs Outdated Show resolved Hide resolved
tfhe/src/zk.rs Show resolved Hide resolved
tfhe-zk-pok/src/curve_api.rs Show resolved Hide resolved
tfhe-zk-pok/src/proofs/pke.rs Outdated Show resolved Hide resolved
tfhe-zk-pok/src/proofs/mod.rs Show resolved Hide resolved
tfhe/src/zk.rs Show resolved Hide resolved
tfhe/src/zk.rs Outdated Show resolved Hide resolved
Copy link
Member

@IceTDrinker IceTDrinker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs some tests please :)

@nsarlin-zama nsarlin-zama force-pushed the ns/zk_curve_conformance branch from bf57764 to 646181c Compare November 6, 2024 13:25
@nsarlin-zama
Copy link
Contributor Author

@IceTDrinker if you could just validate the workflow/Makefile part of the last commit (I rebased so looking at the commit will be easier)

Copy link
Member

@IceTDrinker IceTDrinker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If fast zk tests pass this si good for me

@nsarlin-zama nsarlin-zama merged commit 5e3b793 into main Nov 7, 2024
87 checks passed
@nsarlin-zama nsarlin-zama deleted the ns/zk_curve_conformance branch November 7, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants