Module arithmetic

Module arithmetic 

Source
Expand description

Pure Rust implementation of group operations on secp521r1.

Curve parameters can be found in NIST SP 800-186 ยง 3.2.1.5: P-521.

Re-exportsยง

pub use self::scalar::Scalar;

Modulesยง

field ๐Ÿ”’
Field arithmetic modulo p = 2^{521} โˆ’ 1
scalar ๐Ÿ”’
secp521r1 scalar field elements.
util ๐Ÿ”’
Utility functions.

Type Aliasesยง

AffinePoint
Elliptic curve point in affine coordinates.
ProjectivePoint
Elliptic curve point in projective coordinates.