summaryrefslogtreecommitdiff
path: root/openssl_benchmark/openssl_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'openssl_benchmark/openssl_test.go')
-rw-r--r--openssl_benchmark/openssl_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/openssl_benchmark/openssl_test.go b/openssl_benchmark/openssl_test.go
index f0b7bc5..e80410f 100644
--- a/openssl_benchmark/openssl_test.go
+++ b/openssl_benchmark/openssl_test.go
@@ -7,10 +7,10 @@ package benchmark
import (
"bytes"
- "testing"
- "github.com/spacemonkeygo/openssl"
"crypto/aes"
"crypto/cipher"
+ "github.com/spacemonkeygo/openssl"
+ "testing"
)
func BenchmarkAESGCMSeal4K(b *testing.B) {
@@ -86,7 +86,7 @@ func BenchmarkOpensslGCMenc4K(b *testing.B) {
func BenchmarkOpensslGCMdec4K(b *testing.B) {
buf := makeOpensslCiphertext()
- b.SetBytes(int64(1024*4))
+ b.SetBytes(int64(1024 * 4))
tag := buf[4096:]
buf = buf[0:4096]