Module field

Module field 

Source
Expand description

Field arithmetic modulo p = 2^{224}(2^{32} − 1) + 2^{192} + 2^{96} − 1

Modules§

field_impl 🔒
64-bit secp256r1 base field implementation

Structs§

FieldElement
An element in the finite field modulo p = 2^{224}(2^{32} − 1) + 2^{192} + 2^{96} − 1.

Constants§

MODULUS
Constant representing the modulus.
MODULUS_HEX 🔒
Field modulus serialized as hex. p = 2^{224}(2^{32} − 1) + 2^{192} + 2^{96} − 1
R_2 🔒
R^2 = 2^512 mod p