From 7284f17f7d856d8a0ea5c0045294253b4f1174af Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Fri, 27 May 2022 17:34:08 +0200 Subject: [PATCH] Limit password and salt length in unit test for -m 610 and -m 620 --- tools/test_modules/m00610.pm | 2 +- tools/test_modules/m00620.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/test_modules/m00610.pm b/tools/test_modules/m00610.pm index 61ad8e43b..8922951b9 100644 --- a/tools/test_modules/m00610.pm +++ b/tools/test_modules/m00610.pm @@ -10,7 +10,7 @@ use warnings; use Digest::BLAKE2 qw (blake2b_hex); -sub module_constraints { [[0, 256], [0, 256], [0, 64], [0, 64], [0, 64]] } +sub module_constraints { [[0, 127], [0, 127], [0, 55], [0, 55], [0, 55]] } sub module_generate_hash { diff --git a/tools/test_modules/m00620.pm b/tools/test_modules/m00620.pm index 6c0c9e714..9b798eea6 100644 --- a/tools/test_modules/m00620.pm +++ b/tools/test_modules/m00620.pm @@ -10,7 +10,7 @@ use warnings; use Digest::BLAKE2 qw (blake2b_hex); -sub module_constraints { [[0, 256], [0, 256], [0, 64], [0, 64], [0, 64]] } +sub module_constraints { [[0, 127], [0, 127], [0, 55], [0, 55], [0, 55]] } sub module_generate_hash {