aboutsummaryrefslogtreecommitdiff
path: root/openssl_benchmark
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-10-04 14:36:20 +0200
committerJakob Unterwurzacher2015-10-04 14:49:47 +0200
commit89fef80d32708874c95742db0a7b593bcfd3b31d (patch)
treeadffeac51b1e945e32583b07ab0328a3c2539aad /openssl_benchmark
parent5bd08abf4095fb553355c9b007c8ae4a4314b970 (diff)
Run go fmt
Diffstat (limited to 'openssl_benchmark')
-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]