Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 281 of 281 for 123Z (0.07 sec)

  1. lib/fips140/v1.0.0.zip

    := NewNat().SetBytes(xBytes, m) if err != nil { return false } return got.Equal(natFromBytes(xBytes).ExpandFor(m)) == yes } err := quick.Check(f, &quick.Config{}) if err != nil { t.Error(err) } } func TestExpand(t *testing.T) { sliced := []uint{1, 2, 3, 4} examples := []struct { in []uint n int out []uint }{{ []uint{1, 2}, 4, []uint{1, 2, 0, 0}, }, { sliced[:2], 4, []uint{1, 2, 0, 0}, }, { []uint{1, 2}, 2, []uint{1, 2}, }} for i, tt := range examples { got := (&Nat{tt.in}).expand(tt.n) if len(got.limbs)...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top