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
type Scalar: ConstantTimeEq + Field + PrimeField<Repr = FieldBytes<Self>>
[src]
type Scalar: ConstantTimeEq + Field + PrimeField<Repr = FieldBytes<Self>>
[src]Scalar field type.
Note: the following bounds are enforced by ff::Field
:
Copy
Clone
ConditionallySelectable
Debug
Default
Send
Sync