]> Cypherpunks.ru repositories - gostls13.git/commit
crypto/internal/edwards25519: shorten quick.Check tests in short mode
authorBryan C. Mills <bcmills@google.com>
Thu, 24 Aug 2023 18:40:14 +0000 (14:40 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 28 Aug 2023 17:26:17 +0000 (17:26 +0000)
commit9a1136a65439ff63446a2302b635db289c8065db
tree89c87d903ad1f7fdd2e07a88da7b4a8f5c4e9bdd
parentc1dfbf72e1298df8495171810a553836e5027f98
crypto/internal/edwards25519: shorten quick.Check tests in short mode

The edwards25519 tests can be quite slow on platforms without a
well-optimized implementation, especially if the race detector is also
enabled. Since these tests aren't checking for specific inputs anyway,
the extra coverage of a more aggressive quick.Config does not seem
worth wasting extra time on slow CI builders and TryBots.

For #60109.

Change-Id: I530e75a0b76725585df5a2f5ded6705ab1b9da51
Reviewed-on: https://go-review.googlesource.com/c/go/+/522715
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Joedian Reid <joedian@golang.org>
src/crypto/internal/edwards25519/field/fe_alias_test.go
src/crypto/internal/edwards25519/field/fe_test.go
src/crypto/internal/edwards25519/scalar_alias_test.go
src/crypto/internal/edwards25519/scalar_test.go
src/crypto/internal/edwards25519/scalarmult_test.go