Trait elliptic_curve::ScalarArithmetic[][src]

pub trait ScalarArithmetic: Curve {
    type Scalar: ConstantTimeEq + Field + PrimeField<Repr = FieldBytes<Self>>;
}
This is supported on crate feature arithmetic only.
Expand description

Scalar arithmetic.

Associated Types

Scalar field type.

Note: the following bounds are enforced by ff::Field:

  • Copy
  • Clone
  • ConditionallySelectable
  • Debug
  • Default
  • Send
  • Sync

Implementors