ZenGo-X / class

Rust library for building IQC: cryptography based on class groups of imaginary quadratic orders
GNU General Public License v3.0
63 stars 31 forks source link

add multithreading for the ZK prover and verifcation #21

Closed omershlo closed 4 years ago

omershlo commented 5 years ago

There are two loops, one in prove function and one in verify function. I tried Rayon (Dependency still there) but I got a memory error from PARI.

omershlo commented 5 years ago

example :https://github.com/KZen-networks/zk-paillier/blob/master/src/zkproofs/range_proof.rs#L180

amanusk commented 5 years ago

In #20, running tests in parallel also causes PARI memory issues, could be related.