jonathanpwang / pse-pairing-bn254

Fork to make Fq2, Fq12 public

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BN256 pairing

BN256 pairing library that implements original traits from zkcrypto,

and plus

FieldExt, CurveExt traits that are used in halo2 library.

This implementation is mostly ported from matterlabs/pairing and zkcrypto/bls12-381.

Bench

None Assembly

$ cargo test --profile bench test_field -- --nocapture

Assembly

$ cargo test --profile bench test_field --features asm -- --nocapture

About

Fork to make Fq2, Fq12 public

License:Apache License 2.0


Languages

Language:Rust 100.0%