Skip to main content

SsaPolyIndexPrefixSize

Type Alias SsaPolyIndexPrefixSize 

Source
pub type SsaPolyIndexPrefixSize = Sum<U<SSA_INDEX_SIZE>, U<POLY_INDEX_SIZE>>;
Expand description

Size of the SsaIndex and PolynomialIndex prefix prepended to the encrypted share.

Derived at compile time from size_of::<SsaIndex>() + size_of::<PolynomialIndex>() via typenum’s Const/ToUInt machinery. The matching runtime invariant is asserted by the size_of_indices_must_match unit test below.