Skip to main content

Module params

Module params 

Source

Structsยง

PixParams
Everything about PIX two nodes must agree on for a Session, and the only encoding of it: three dimensions and the curve suite they are dimensions of.

Enumsยง

InvalidPixParams
Why a PixParams quadruple was rejected.
PixSuite
The elliptic curve a PIX deployment instantiates PixSpec over.

Constantsยง

ADDITIONAL_DATA_SHIFT ๐Ÿ”’
Bit position of the packed u32 within PixParams::into_additional_dataโ€™s u64.
POLYS_MASK ๐Ÿ”’
Mask applied to the polynomial count after shifting, i.e. the 14 bits below the suite.
POLYS_SHIFT ๐Ÿ”’
Bit position of PixParams::polys_per_ssa within the packed u32.
SHARES_SHIFT ๐Ÿ”’
Bit position of PixParams::shares_per_poly within the packed u32.
SUITE_SHIFT ๐Ÿ”’
Bit position of PixParams::suite within the packed u32.