Crate ark_vesta[][src]

This library implements the prime-order curve Vesta, generated by Daira Hopwood. The main feature of this curve is that it forms a cycle with Pallas, i.e. its scalar field and base field respectively are the base field and scalar field of Pallas.

Curve information: Vesta:

  • Base field: q = 28948022309329048855892746252171976963363056481941647379679742748393362948097
  • Scalar field: r = 28948022309329048855892746252171976963363056481941560715954676764349967630337
  • Curve equation: y^2 = x^3 + 5
  • Valuation(q - 1, 2) = 32
  • Valuation(r - 1, 2) = 32

Modules

fq
fr

Structs

FqParameters
FrParameters
VestaParameters

Constants

G_GENERATOR_X

G_GENERATOR_X = -1 Encoded in Montgomery form, so the value here is -R mod p.

G_GENERATOR_Y

G_GENERATOR_Y = 2 Encoded in Montgomery form, so the value here is 2R mod p.

Type Definitions

Affine
Fq
Fr
Projective