- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for test_2 (0.06 seconds)
-
lib/fips140/v1.26.0.zip
architecture-specific implementations on // a number of architectures. Test that they match the generic // implementation. tests := []struct { n int f func(z, x *uint, y uint) uint }{ {1024, addMulVVW1024}, {1536, addMulVVW1536}, {2048, addMulVVW2048}, } for _, test := range tests { t.Run(fmt.Sprint(test.n), func(t *testing.T) { x := makeTestValue(test.n) z := makeTestValue(test.n) z2 := slices.Clone(z) var y uint y-- c := addMulVVW(z, x, y) c2 := test.f(&z2[0], &x[0], y) if !slices.Equal(z, z2) || c != c2 { t.Errorf("%016X,...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
architecture-specific implementations on // a number of architectures. Test that they match the generic // implementation. tests := []struct { n int f func(z, x *uint, y uint) uint }{ {1024, addMulVVW1024}, {1536, addMulVVW1536}, {2048, addMulVVW2048}, } for _, test := range tests { t.Run(fmt.Sprint(test.n), func(t *testing.T) { x := makeTestValue(test.n) z := makeTestValue(test.n) z2 := slices.Clone(z) var y uint y-- c := addMulVVW(z, x, y) c2 := test.f(&z2[0], &x[0], y) if !slices.Equal(z, z2) || c != c2 { t.Errorf("%016X,...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)