]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips140/entropy: increase AllocsPerRun iterations
authorqmuntal <quimmuntal@gmail.com>
Fri, 17 Oct 2025 10:40:05 +0000 (12:40 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 21 Oct 2025 15:42:07 +0000 (08:42 -0700)
commit2163a5802103ebe84cbf0d77cee7097185bd8e8d
tree17563cc6305759b986551f22ff430a0ee6861e8e
parent306eacbc112f2052d82c419fe312153b8b2ab613
crypto/internal/fips140/entropy: increase AllocsPerRun iterations

TestNISTECAllocations is flaky (~1% failure rate) on my local Windows
machine since CL 710058, which touched TestEntropyRace.

These tests are unrelated, but some allocations might be incorrectly
accounted to TestNISTECAllocations, affecting the end result due to
the low number of iterations done in that test.

Change-Id: I01323c2a45b12665e86d940467f4f91c2e66696b
Reviewed-on: https://go-review.googlesource.com/c/go/+/712620
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/crypto/internal/fips140test/nistec_test.go
src/crypto/internal/fips140test/xaes_test.go