#elliptic-curve #scalar-field #pairing #extension

no-std ark-ed-on-bls12-377-ext

Extensions for Twisted Edwards curve defined over the scalar field of the BLS12-377 curve

1 unstable release

0.4.1 Oct 27, 2023

#2066 in Cryptography

Download history 27671/week @ 2024-03-15 29485/week @ 2024-03-22 37375/week @ 2024-03-29 40836/week @ 2024-04-05 35278/week @ 2024-04-12 32446/week @ 2024-04-19 22423/week @ 2024-04-26 22345/week @ 2024-05-03 27013/week @ 2024-05-10 22978/week @ 2024-05-17 34932/week @ 2024-05-24 29234/week @ 2024-05-31 23423/week @ 2024-06-07 24324/week @ 2024-06-14 31105/week @ 2024-06-21 13714/week @ 2024-06-28

95,568 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

22KB
432 lines

This library implements a twisted Edwards curve whose base field is the scalar field of the curve BLS12-377. This allows defining cryptographic primitives that use elliptic curves over the scalar field of the latter curve. This curve was generated as part of the paper [BCGMMW20, “Zexe”].

Curve information:

  • Base field: q = 8444461749428370424248824938781546531375899335154063827935233455917409239041
  • Scalar field: r = 2111115437357092606062206234695386632838870926408408195193685246394721360383
  • Valuation(q - 1, 2) = 47
  • Valuation(r - 1, 2) = 1
  • Curve equation: ax^2 + y^2 =1 + dx^2y^2, where
    • a = -1
    • d = 3021

Dependencies

~6MB
~120K SLoC