-
The current implementation uses a conditional version of `enforce_equal` for `is_eq`, which indeed has a soundness error for `enforce_non_equal` because a malicious prover, who is motivated to `enforc…
-
Currently `prime_field.root_of_unity()` returns a group element of order `2^{F::PARAMS::TWO_ADICITY}`.
It would be convenient to have a method on PrimeField to get the root of unity for a given po…
-
Hello,
If I want to create a Fq instance from some very big integer and I can not use u128. I choose num::BigInt to do it. Here is my code:
`let test : Fq = pow(BigInt::from(2), 200).into();`
…
-
It seems that ark-std does not compile in no_std, here's the error:
```
Compiling ark-std v0.1.0 (https://github.com/arkworks-rs/utils/#423b772d)
error[E0432]: unresolved import `alloc::sync`…
-
its a bit odd that `test_rng` and `uniform_rand` traits are coming from `ark-ff` at the moment. This also introduces oddities like #112 now introducing a dev-dependency to `ark-serialize` on `ark-ff`.…
-
Hello guys,
I use `rustc 1.47.0` stable version, and when I tried to compile the algebra library I met the following error:
```
error[E0308]: mismatched types
--> ff/src/fields/models/quadr…
-
In order to match gnark timings for G1, we should bring `mul_assign` timings down to 220us from 270us. `add_mixed` should be brought down from 750us to 705us.
gnark uses the following algorithm cre…
-
Hello, suppose I have two FqVar
```
let tmp1 = FpVar::::new_witness(r1cs_core::ns!(cs, format!("tmp1")), || Ok(a),).unwrap();
let tmp2 = FpVar::::new_witness(r1cs_core::ns!(cs, for…
-
It is algebra after all, and will reduce the clutter.
-
Hello, I am new to ZEXE and I met some difficulties here:
in traditional programming language, we can do bit shifting like this:
int a = 8;
int b = a >> 1; // b = 4;
Because there is not **div…