Crate ark_grumpkin

Crate ark_grumpkin 

Source
Expand description

This library implements the prime-order curve Grumpkin, generated by Zachary J. Williamson from Aztec protocol. The main feature of this curve is that it forms a cycle with bn254, i.e. its scalar field and base field respectively are the base field and scalar field of bn254.

Curve information: Grumpkin:

  • Base field: q = 21888242871839275222246405745257275088548364400416034343698204186575808495617
  • Scalar field: r = 21888242871839275222246405745257275088696311157297823662689037894645226208583
  • Curve equation: y^2 = x^3 - 17
  • Valuation(q - 1, 2) = 28
  • Valuation(r - 1, 2) = 1

Modules§

fq
fr

Structs§

FqConfig
FrConfig
GrumpkinConfig

Constants§

G_GENERATOR_X
G_GENERATOR_X = 1
G_GENERATOR_Y
G_GENERATOR_Y = sqrt(-16)

Type Aliases§

Affine
Fq
Fr
Projective