feat(stdlib): EdDSA sig verification#1313
Conversation
|
I implemented the to_bits for any field in PR #1343, could you compare the cost between your noir implementation vs the PR? |
|
I'm getting a Line 50 in a04e78a |
I don't think it is related to the to_bits, I checked the to_bits used and they produce the same version with the noir implementation and with my changes. UPDATE: Using the ex you provided, I was able to see the issue and it is fixed |
Thanks, everything seems to work now and total constraints are back to ~145k compared to ~247k constraints in #1312 (comment) |
- lift baby jubjub into const - EdDSA integration test - lt_bytes32
|
@kevaundray This should be good for review |
guipublic
left a comment
There was a problem hiding this comment.
My points have been addressed so for me this is OK to go, but I let final approval to Kev as I did not review the cryptography part.
kevaundray
left a comment
There was a problem hiding this comment.
Left one question re commented out code
* phated/acvm-0.12.0: fix compilation issue switch to published acvm and backend feat(nargo): Consume CommonReferenceString functions & manage caching (#1348) fix(stdlib): Workaround for Field comparison error in EdDSA signature verification (#1372) feat!: remove concept of noir fallbacks for foreign functions (#1371) feat(ssa refactor): mem2reg opt pass (#1363) feat(stdlib): EdDSA sig verification (#1313)
Related issue(s)
Resolves #1109
Supercedes #1136
Depends on #1312, #1343
Description
Summary of changes
eddsa::eddsa_poseidon_verifyfunction to stdlibstd::ecfunctions to use builtinto_bitsstd::compatwith ais_bn254functionDependency additions / changes
Test additions / changes
Checklist
cargo fmtwith default settings.Documentation needs
Additional context