Trait elliptic_curve::ScalarArithmetic
source · [−]pub trait ScalarArithmetic: Curve {
type Scalar: DefaultIsZeroes + From<ScalarCore<Self>> + Into<FieldBytes<Self>> + Into<Self::UInt> + IsHigh + Field + PrimeField<Repr = FieldBytes<Self>>;
}
This is supported on crate feature
arithmetic
only.Expand description
Scalar arithmetic.
Associated Types
type Scalar: DefaultIsZeroes + From<ScalarCore<Self>> + Into<FieldBytes<Self>> + Into<Self::UInt> + IsHigh + Field + PrimeField<Repr = FieldBytes<Self>>
type Scalar: DefaultIsZeroes + From<ScalarCore<Self>> + Into<FieldBytes<Self>> + Into<Self::UInt> + IsHigh + Field + PrimeField<Repr = FieldBytes<Self>>
Scalar field type.
Note: the following bounds are provided by ff::Field
: