diff options
Diffstat (limited to 'cryptfs/openssl_test.go')
-rw-r--r-- | cryptfs/openssl_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cryptfs/openssl_test.go b/cryptfs/openssl_test.go index 85a97d9..aecee94 100644 --- a/cryptfs/openssl_test.go +++ b/cryptfs/openssl_test.go @@ -10,7 +10,6 @@ package cryptfs import ( "crypto/aes" - "crypto/cipher" "testing" ) @@ -20,7 +19,7 @@ func benchmarkGoEnc(b *testing.B, plaintext []byte, key []byte, nonce []byte) (c if err != nil { b.Fatal(err) } - aesgcm, err := cipher.NewGCMWithNonceSize(aes, len(nonce)) + aesgcm, err := goGCMWrapper(aes, len(nonce)) if err != nil { b.Fatal(err) } |