summaryrefslogtreecommitdiff
path: root/internal/speed
diff options
context:
space:
mode:
Diffstat (limited to 'internal/speed')
-rw-r--r--internal/speed/speed_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/speed/speed_test.go b/internal/speed/speed_test.go
index 4d09148..e9bbc0d 100644
--- a/internal/speed/speed_test.go
+++ b/internal/speed/speed_test.go
@@ -74,3 +74,11 @@ func BenchmarkStupidXchacha(b *testing.B) {
func BenchmarkStupidXchachaDecrypt(b *testing.B) {
bDecrypt(b, stupidgcm.NewXchacha20poly1305(randBytes(32)))
}
+
+func BenchmarkStupidChacha(b *testing.B) {
+ bEncrypt(b, stupidgcm.NewChacha20poly1305(randBytes(32)))
+}
+
+func BenchmarkStupidChachaDecrypt(b *testing.B) {
+ bDecrypt(b, stupidgcm.NewChacha20poly1305(randBytes(32)))
+}