#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

#1751 in Cryptography

Download history 17447/week @ 2023-12-15 9170/week @ 2023-12-22 9366/week @ 2023-12-29 18016/week @ 2024-01-05 22280/week @ 2024-01-12 25316/week @ 2024-01-19 24111/week @ 2024-01-26 22719/week @ 2024-02-02 22289/week @ 2024-02-09 30949/week @ 2024-02-16 30967/week @ 2024-02-23 24974/week @ 2024-03-01 25168/week @ 2024-03-08 27671/week @ 2024-03-15 30215/week @ 2024-03-22 29531/week @ 2024-03-29

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