algorand/pointproofs

`make test` error

Closed this issue · 1 comments

3for commented

I run make test, and get error info such as:

C wrapper, verifier parameter deserialization failed:Custom { kind: InvalidData, error: NotInSubgroup }

OR

C wrapper, verifier parameter deserialization failed:Custom { kind: InvalidData, error: NotOnCurve }

While run cargo test test_c_api_basic is okay, seemed something wrong in the FFI function due to my environment?
My gcc / rustc / cbindgen version info:
rustc 1.37.0 (eae3437df 2019-08-13)
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
cbindgen 0.14.2

Bug reproduced. Working on the fix.