summaryrefslogtreecommitdiff
path: root/internal/speed/speed_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/speed/speed_test.go')
-rw-r--r--internal/speed/speed_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/speed/speed_test.go b/internal/speed/speed_test.go
index e9bbc0d..11c68d0 100644
--- a/internal/speed/speed_test.go
+++ b/internal/speed/speed_test.go
@@ -31,7 +31,7 @@ func BenchmarkStupidGCMDecrypt(b *testing.B) {
if stupidgcm.BuiltWithoutOpenssl {
b.Skip("openssl has been disabled at compile-time")
}
- bDecrypt(b, stupidgcm.New(randBytes(32), false))
+ bDecrypt(b, stupidgcm.NewAES256GCM(randBytes(32), false))
}
func BenchmarkGoGCM(b *testing.B) {