[−][src]Type Definition elliptic_curve::FieldBytes
type FieldBytes<C> = GenericArray<u8, <C as Curve>::FieldSize>;
Byte representation of a base/scalar field element of a given curve.
Trait Implementations
impl<C> From<NonZeroScalar<C>> for FieldBytes<C> where
C: Curve + ProjectiveArithmetic,
FieldBytes<C>: From<Scalar<C>> + for<'r> From<&'r Scalar<C>>,
Scalar<C>: PrimeField<Repr = FieldBytes<C>>,
[src]
C: Curve + ProjectiveArithmetic,
FieldBytes<C>: From<Scalar<C>> + for<'r> From<&'r Scalar<C>>,
Scalar<C>: PrimeField<Repr = FieldBytes<C>>,
This is supported on crate feature
arithmetic
only.pub fn from(scalar: NonZeroScalar<C>) -> FieldBytes<C>
[src]
impl<C: Curve> From<SecretBytes<C>> for FieldBytes<C>
[src]
This is supported on crate feature
zeroize
only.