From 2e61d9d0b899042bfda2ccf88ae159ea91934afc Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 9 Jan 2019 11:24:39 +0100 Subject: [PATCH] Authenticated hashes (HMAC) use separate buffers for password and salt, therefore no combination constraints required --- tools/test_modules/m00050.pm | 2 +- tools/test_modules/m00060.pm | 2 +- tools/test_modules/m00150.pm | 2 +- tools/test_modules/m00160.pm | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/test_modules/m00050.pm b/tools/test_modules/m00050.pm index 185f2266b..e4be12ec2 100644 --- a/tools/test_modules/m00050.pm +++ b/tools/test_modules/m00050.pm @@ -11,7 +11,7 @@ use warnings; use Digest::MD5 qw (md5); use Digest::HMAC qw (hmac hmac_hex); -sub module_constraints { [[0, 255], [0, 255], [0, 55], [0, 55], [0, 55]] } +sub module_constraints { [[0, 255], [0, 255], [0, 55], [0, 55], [-1, -1]] } sub module_generate_hash { diff --git a/tools/test_modules/m00060.pm b/tools/test_modules/m00060.pm index 6a5252e77..b873df2b6 100644 --- a/tools/test_modules/m00060.pm +++ b/tools/test_modules/m00060.pm @@ -11,7 +11,7 @@ use warnings; use Digest::MD5 qw (md5); use Digest::HMAC qw (hmac hmac_hex); -sub module_constraints { [[0, 255], [0, 255], [0, 55], [0, 55], [0, 55]] } +sub module_constraints { [[0, 255], [0, 255], [0, 55], [0, 55], [-1, -1]] } sub module_generate_hash { diff --git a/tools/test_modules/m00150.pm b/tools/test_modules/m00150.pm index 22c721382..26f5ee427 100644 --- a/tools/test_modules/m00150.pm +++ b/tools/test_modules/m00150.pm @@ -11,7 +11,7 @@ use warnings; use Digest::SHA1 qw (sha1); use Digest::HMAC qw (hmac hmac_hex); -sub module_constraints { [[0, 255], [0, 255], [0, 55], [0, 55], [0, 55]] } +sub module_constraints { [[0, 255], [0, 255], [0, 55], [0, 55], [-1, -1]] } sub module_generate_hash { diff --git a/tools/test_modules/m00160.pm b/tools/test_modules/m00160.pm index f73639eab..06c85cd84 100644 --- a/tools/test_modules/m00160.pm +++ b/tools/test_modules/m00160.pm @@ -11,7 +11,7 @@ use warnings; use Digest::SHA1 qw (sha1); use Digest::HMAC qw (hmac hmac_hex); -sub module_constraints { [[0, 255], [0, 255], [0, 55], [0, 55], [0, 55]] } +sub module_constraints { [[0, 255], [0, 255], [0, 55], [0, 55], [-1, -1]] } sub module_generate_hash {