- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for xb (0.03 sec)
-
lib/fips140/v1.0.0.zip
leading zeroes and nat does not. m := modulusFromBytes([]byte{ 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}) xb := []byte{0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe} natFromBytes(xb).ExpandFor(m) // must not panic for shrinking NewNat().SetBytes(xb, m) } func TestSetBytes(t *testing.T) { tests := []struct { m, b []byte fail bool }{{ m: []byte{0xff, 0xff}, b: []byte{0x00, 0x01}, }, { m: []byte{0xff, 0xff},...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)