Crate ark_secp384r1

source ·
Expand description

This library implements the secp384r1 curve. Source: https://neuromancer.sk/std/nist/P-384

Curve information:

  • Base field: q = 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
  • Scalar field: r = 0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973
  • a = -3
  • b = 0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef
  • Curve equation: y^2 = x^3 + ax + b

Modules

Structs

Constants

G_GENERATOR_X = 26247035095799689268623156744566981891852923491109213387815615900925518854738050089022388053975719786650872476732087
G_GENERATOR_Y = 8325710961489029985546751289520108179287853048861315594709205902480503199884419224438643760392947333078086511627871

Type Definitions