Trait elliptic_curve::Curve [−][src]
Elliptic curve.
This trait is intended to be impl'd by a ZST which represents a concrete elliptic curve.
Other traits in this crate which are bounded by Curve
are intended to
be impl'd by these ZSTs, facilitating types which are generic over elliptic
curves (e.g. SecretKey
).
Associated Types
type FieldSize: ArrayLength<u8> + Add + Eq + Ord + Unsigned
[src]
Size of this curve's field in bytes, i.e. the number of bytes needed to serialize a field element.
This is used for computing the sizes of field element types related to this curve and other types composed from them (e.g. signatures).