- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for loopCount (0.06 sec)
-
lib/fips140/v1.0.0-c2097c7c.zip
*testing.T) { testRandomPoint(t, P384()) }) t.Run("P-521", func(t *testing.T) { testRandomPoint(t, P521()) }) } func testRandomPoint[P Point[P]](t *testing.T, c *Curve[P]) { t.Cleanup(func() { testingOnlyRejection = nil }) var loopCount int testingOnlyRejection = func() { loopCount++ } // A sequence of all ones will generate 2^N-1, which should be rejected. // (Unless, for example, we are masking too many bits.) r := io.MultiReader(bytes.NewReader(bytes.Repeat([]byte{0xff}, 100)), rand.Reader) if k, p,...Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.zip
*testing.T) { testRandomPoint(t, P384()) }) t.Run("P-521", func(t *testing.T) { testRandomPoint(t, P521()) }) } func testRandomPoint[P Point[P]](t *testing.T, c *Curve[P]) { t.Cleanup(func() { testingOnlyRejection = nil }) var loopCount int testingOnlyRejection = func() { loopCount++ } // A sequence of all ones will generate 2^N-1, which should be rejected. // (Unless, for example, we are masking too many bits.) r := io.MultiReader(bytes.NewReader(bytes.Repeat([]byte{0xff}, 100)), rand.Reader) if k, p,...Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)