Awesome
halo2ecc-s
Re-implement an ecc circuits with halo2.
Optimizations
- Generate witness outside of synthesize.
- Support multi-threading for witness generation.
- Use 3 limbs for bn256 Fp over Fr integer.
- Reduce lookup.
- Use select chip to reduce bisect points in MSM.
Pairing
- Support bn256 pairing check over bn256 Fr circuit. See
test_bn256_pairing_chip_over_bn256_fr
for usage. - Support bls12_381 pairing check over bn256 Fr circuit. See
test_bls12_381_pairing_chip_over_bn256_fr
for usage.