Type Definition p384::FieldBytes

source ·
pub type FieldBytes = FieldBytes<NistP384>;
Expand description

NIST P-384 field element serialized as bytes.

Byte array containing a serialized field element value (base field or scalar).

Trait Implementations§

source§

impl From<&Scalar> for FieldBytes

Available on crate feature arithmetic only.
source§

fn from(scalar: &Scalar) -> Self

Converts to this type from the input type.
source§

impl From<Scalar> for FieldBytes

Available on crate feature arithmetic only.
source§

fn from(scalar: Scalar) -> Self

Converts to this type from the input type.