Skip to main content

WideScalarBytes

Type Alias WideScalarBytes 

Source
pub type WideScalarBytes<C> = Array<u8, Prod<<C as CurveWithScalar>::ReprSize, U2>>;
Expand description

The number of bytes needed to represent the safely create a scalar from a random bytes

Aliased Type§

#[repr(transparent)]
pub struct WideScalarBytes<C>(pub <<<C as CurveWithScalar>::ReprSize as Mul<UInt<UInt<UTerm, B1>, B0>>>::Output as ArraySize>::ArrayType<u8>);

Tuple Fields§

§0: <<<C as CurveWithScalar>::ReprSize as Mul<UInt<UInt<UTerm, B1>, B0>>>::Output as ArraySize>::ArrayType<u8>