kryptology icon indicating copy to clipboard operation
kryptology copied to clipboard

Bulletproof failed on all other curves

Open kitounliu opened this issue 2 years ago • 0 comments

I was testing bulletproof with different curves such as bls12381 and it doesn't work. In the tests range_verifier_test.go and range_batch_verifier_test.go in pkg/bulletproof, when replacing curve := curves.ED25519() with other curves, such as curve := curves.BLS12381G1(), curve := curves.P256(), curve := curves.BLS12377G1(), the verifier.Verify(proof, capV, proofGenerators, n, transcriptVerifier) function fails.

kitounliu avatar Jul 19 '22 11:07 kitounliu