From c8d3bf9c5392d5f66747f112cd55055d7a530b19 Mon Sep 17 00:00:00 2001 From: Roland Shoemaker Date: Sun, 22 Nov 2020 13:41:03 -0800 Subject: [PATCH] x/crypto/chacha20: fix typo in benchmark Change-Id: I003c389585a42089fc9cc595d1f5f1027cd482f2 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/272306 Trust: Roland Shoemaker Run-TryBot: Roland Shoemaker TryBot-Result: Go Bot Reviewed-by: Katie Hockman --- chacha20/chacha_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chacha20/chacha_test.go b/chacha20/chacha_test.go index d75873c..60b11d9 100644 --- a/chacha20/chacha_test.go +++ b/chacha20/chacha_test.go @@ -238,7 +238,7 @@ func BenchmarkChaCha20(b *testing.B) { benchmarkChaCha20(b, 10, 25) }) b.Run("4096", func(b *testing.B) { - benchmarkChaCha20(b, 256, 1) + benchmarkChaCha20(b, 4096, 1) }) b.Run("100x40", func(b *testing.B) { benchmarkChaCha20(b, 100, 40)