crate-crypto / rust-verkle

Apache License 2.0
118 stars 41 forks source link

make transcript string dynamic in ffi_interface #84

Open dragan2234 opened 9 months ago

dragan2234 commented 9 months ago

It would be good to have a transcript string dynamic (passed as a parameter to create_proof() and verify_proof() methods in ffi_interface. Since test vectors are using different string: https://github.com/jsign/verkle-test-vectors/blob/main/crypto/clients/go-ipa/crypto_test.go#L322

Example in this lib:

https://github.com/crate-crypto/rust-verkle/blob/629d63e01e2f0a33d8a1d465da4f9e024d86c0ef/ffi_interface/src/lib.rs#L350