]> Cypherpunks repositories - gostls13.git/commit
crypto/cipher: 8K benchmarks for AES stream modes
authorMichael McLoughlin <mmcloughlin@gmail.com>
Mon, 24 Sep 2018 03:29:33 +0000 (20:29 -0700)
committerFilippo Valsorda <filippo@golang.org>
Tue, 25 Sep 2018 23:11:34 +0000 (23:11 +0000)
commit4a0dad211c2158e8763c6fd230fbdc1c7d566cb9
tree20ebd48c7336b0ebaae5f128882e3df4f045ecdb
parent699da6bd134c22ac174ec1accae9ae8218f873f7
crypto/cipher: 8K benchmarks for AES stream modes

Some parallelizable cipher modes may achieve peak performance for larger
block sizes. For this reason the AES-GCM mode already has an 8K
benchmark alongside the 1K version. This change introduces 8K benchmarks
for additional AES stream cipher modes.

Updates #20967

Change-Id: If97c6fbf31222602dcc200f8f418d95908ec1202
Reviewed-on: https://go-review.googlesource.com/136897
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/crypto/cipher/benchmark_test.go