#curve #finite-fields #bls12-381 #bls12 #constant-time #serialization #pairing-friendly #b #p

no-std pg-curve

Fork of the BLS12-381 pairing-friendly elliptic curve construction with target group serialization

1 unstable release

0.2.0 Mar 1, 2023

#2176 in Cryptography

Download history 16/week @ 2023-11-04 17/week @ 2023-11-11 24/week @ 2023-11-18 27/week @ 2023-11-25 42/week @ 2023-12-02 14/week @ 2023-12-09 18/week @ 2023-12-16 17/week @ 2023-12-23 12/week @ 2023-12-30 15/week @ 2024-01-06 17/week @ 2024-01-13 13/week @ 2024-01-20 33/week @ 2024-01-27 13/week @ 2024-02-03 21/week @ 2024-02-10 79/week @ 2024-02-17

149 downloads per month
Used in 2 crates (via ibe)

MIT/Apache

555KB
12K SLoC

PostGuard curve library Crates.io

This crate is a fork of the BLS12-381 pairing-friendly elliptic curve construction crate, providing serialisation. This crate is forked because the maintainers of BLS12-381 do not wish to merge the proposed serialisation standard in merge request #12. This crate should be up to date with upstream, with the gt-serialisation branch merged.


lib.rs:

bls12_381

This crate provides an implementation of the BLS12-381 pairing-friendly elliptic curve construction.

  • This implementation has not been reviewed or audited. Use at your own risk.
  • This implementation targets Rust 1.36 or later.
  • This implementation does not require the Rust standard library.
  • All operations are constant time unless explicitly noted.

Dependencies