- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestShiftIn (0.11 sec)
-
lib/fips140/v1.0.0.zip
new(Nat).set(a) monty.montgomeryRepresenta(m) aAgain := new(Nat).set(monty) aAgain.montgomeryMul(monty, one, m) if a.Equal(aAgain) != 1 { t.Errorf("%v != %v", a, aAgain) return false } return true }, &quick.Config{}) if err != nil { t.Error(err) } } func TestShiftIn(t *testing.T) { if bits.UintSize != 64 { t.Skip("examples are only valid in 64 bit") } examples := []struct { m, x, expected []byte y uint64 }{{ m: []byte{13}, x: []byte{0}, y: 0xFFFF_FFFF_FFFF_FFFF, expected: []byte{2}, }, { m: []byte{13}, x: []byte{7},...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)