Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 41 of 41 for testvol (0.14 sec)

  1. lib/fips140/v1.0.0.zip

    NewNat().setBig(big.NewInt(1)).ExpandFor(N) if A.Mul(I, N).Equal(one) != 1 { t.Error("a * inv(a) mod b != 1") } } func TestMul(t *testing.T) { t.Run("small", func(t *testing.T) { testMul(t, 760/8) }) t.Run("1024", func(t *testing.T) { testMul(t, 1024/8) }) t.Run("1536", func(t *testing.T) { testMul(t, 1536/8) }) t.Run("2048", func(t *testing.T) { testMul(t, 2048/8) }) } func testMul(t *testing.T, n int) { a, b, m := make([]byte, n), make([]byte, n), make([]byte, n) cryptorand.Read(a) cryptorand.Read(b)...
    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