Module elliptic_curve::ops

source ·
Expand description

Traits for arithmetic operations on elliptic curve field elements.

Traits

  • The addition operator +.
  • The addition assignment operator +=.
  • Perform an inversion on a field element (i.e. base field element or scalar)
  • Linear combination.
  • The multiplication operator *.
  • The unary negation operator -.
  • Modular reduction.
  • Modular reduction to a non-zero output.
  • The subtraction operator -.
  • The subtraction assignment operator -=.