Add Fixed-Size Unsigned Integer Interface to ECLAIR #141
Labels
A-openzl
Area: Development Related to OpenZL and ECLAIR
C-tracking-issue
Category: A tracking issue for a set of related issues
P-high
Priority: High
Milestone
For a given number of bits (less than 1/2 the proof-system field size), we should have an interface for operations that need to have bounds checking enabled. Build a new type that's something like the following:
where the following
trait
implementations have a range check included for each operation:Add<Self, COM>
AddAssign<COM>
Sub<Self, COM>
SubAssign<COM>
We can leave the multiplicative operations for the future (not needed for the next version of protocol). Once this interface is built out, we can expand to all integral types less than 128.
The text was updated successfully, but these errors were encountered: