Skip to content

Implement curve BLS12-381

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

flyingnobita/halo2curves

 
 

Repository files navigation

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

No assembly

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

Assembly (returns rust nightly)

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

About

Implement curve BLS12-381

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%