#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

#1835 in Cryptography

Download history 20059/week @ 2024-01-10 26346/week @ 2024-01-17 24959/week @ 2024-01-24 20038/week @ 2024-01-31 24037/week @ 2024-02-07 28642/week @ 2024-02-14 28836/week @ 2024-02-21 28111/week @ 2024-02-28 24466/week @ 2024-03-06 25454/week @ 2024-03-13 32299/week @ 2024-03-20 28221/week @ 2024-03-27 44236/week @ 2024-04-03 38852/week @ 2024-04-10 30734/week @ 2024-04-17 24175/week @ 2024-04-24

145,646 downloads per month
Used in 3 crates

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
~116K SLoC