internal/ed25519: lower quickcheck size for point ops

This commit is contained in:
Henry de Valence 2019-05-08 22:43:34 -07:00 committed by Filippo Valsorda
parent f0e9a21a6d
commit 0da0c530f4
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@ import (
"testing/quick" "testing/quick"
) )
// quickCheckConfig will make each quickcheck test run (1024 * -quickchecks) // quickCheckConfig will make each quickcheck test run (2^6 * -quickchecks)
// times. The default value of -quickchecks is 100. // times. The default value of -quickchecks is 100.
var ( var (
quickCheckConfig = &quick.Config{MaxCountScale: 1 << 10} quickCheckConfig = &quick.Config{MaxCountScale: 1 << 6}
// a random scalar generated using dalek. // a random scalar generated using dalek.
dalekScalar = scalar.Scalar([32]byte{219, 106, 114, 9, 174, 249, 155, 89, 69, 203, 201, 93, 92, 116, 234, 187, 78, 115, 103, 172, 182, 98, 62, 103, 187, 136, 13, 100, 248, 110, 12, 4}) dalekScalar = scalar.Scalar([32]byte{219, 106, 114, 9, 174, 249, 155, 89, 69, 203, 201, 93, 92, 116, 234, 187, 78, 115, 103, 172, 182, 98, 62, 103, 187, 136, 13, 100, 248, 110, 12, 4})