- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SetOverflowingBytes (0.11 sec)
-
lib/fips140/v1.0.0.zip
x.cmpGeq(m.nat) == yes { return nil, errors.New("input overflows the modulus") } return x, nil } // SetOverflowingBytes assigns x = b, where b is a slice of big-endian bytes. // SetOverflowingBytes returns an error if b has a longer bit length than m, but // reduces overflowing values up to 2^⌈log2(m)⌉ - 1. // // The output will be resized to the size of m and overwritten. func (x *Nat) SetOverflowingBytes(b []byte, m *Modulus) (*Nat, error) { x.resetFor(m) if err := x.setBytes(b); err != nil { return...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)