Type Alias Output

Source
pub type Output<Mode> = GenericArray<u8, Sum<Prod<<Mode as LmsOtsMode>::NLen, Sum<<Mode as LmsOtsMode>::PLen, U1>>, U4>>;
Expand description

Useful type alias to get the GenericArray representation

Aliased Type§

struct Output<Mode> { /* private fields */ }

Trait Implementations§

Source§

impl<Mode: LmsOtsMode> From<Signature<Mode>> for Output<Mode>
where Mode::PLen: Add<U1>, Mode::NLen: Mul<Sum<Mode::PLen, U1>>, Prod<Mode::NLen, Sum<Mode::PLen, U1>>: Add<U4>, Sum<Prod<Mode::NLen, Sum<Mode::PLen, U1>>, U4>: ArrayLength<u8>,

Converts a Signature into its byte representation

Source§

fn from(sig: Signature<Mode>) -> Self

Converts to this type from the input type.