[test suite] add HMAC SHA3_256 complete cycle test
This commit is contained in:
parent
05ede9fe0d
commit
a3adca69e1
@ -231,6 +231,7 @@ EXTRA_DIST = \
|
|||||||
test/conf/hmac_sha384_long_key_access.conf \
|
test/conf/hmac_sha384_long_key_access.conf \
|
||||||
test/conf/hmac_sha512_access.conf \
|
test/conf/hmac_sha512_access.conf \
|
||||||
test/conf/hmac_sha3_512_access.conf \
|
test/conf/hmac_sha3_512_access.conf \
|
||||||
|
test/conf/hmac_sha3_256_access.conf \
|
||||||
test/conf/hmac_sha512_short_key_access.conf \
|
test/conf/hmac_sha512_short_key_access.conf \
|
||||||
test/conf/hmac_sha512_short_key2_access.conf \
|
test/conf/hmac_sha512_short_key2_access.conf \
|
||||||
test/conf/hmac_sha512_long_key_access.conf \
|
test/conf/hmac_sha512_long_key_access.conf \
|
||||||
@ -267,6 +268,7 @@ EXTRA_DIST = \
|
|||||||
test/conf/fwknoprc_hmac_sha384_short_key \
|
test/conf/fwknoprc_hmac_sha384_short_key \
|
||||||
test/conf/fwknoprc_hmac_sha512_key \
|
test/conf/fwknoprc_hmac_sha512_key \
|
||||||
test/conf/fwknoprc_hmac_sha3_512_key \
|
test/conf/fwknoprc_hmac_sha3_512_key \
|
||||||
|
test/conf/fwknoprc_hmac_sha3_256_key \
|
||||||
test/conf/fwknoprc_hmac_sha512_short_key \
|
test/conf/fwknoprc_hmac_sha512_short_key \
|
||||||
test/conf/fwknoprc_hmac_sha512_long_key \
|
test/conf/fwknoprc_hmac_sha512_long_key \
|
||||||
test/conf/fwknoprc_hmac_simple_keys \
|
test/conf/fwknoprc_hmac_simple_keys \
|
||||||
|
|||||||
@ -443,6 +443,7 @@ our %cf = (
|
|||||||
'hmac_sha1_short_key_access' => "$conf_dir/hmac_sha1_short_key_access.conf",
|
'hmac_sha1_short_key_access' => "$conf_dir/hmac_sha1_short_key_access.conf",
|
||||||
'hmac_sha1_long_key_access' => "$conf_dir/hmac_sha1_long_key_access.conf",
|
'hmac_sha1_long_key_access' => "$conf_dir/hmac_sha1_long_key_access.conf",
|
||||||
'hmac_sha256_access' => "$conf_dir/hmac_sha256_access.conf",
|
'hmac_sha256_access' => "$conf_dir/hmac_sha256_access.conf",
|
||||||
|
'hmac_sha3_256_access' => "$conf_dir/hmac_sha3_256_access.conf",
|
||||||
'hmac_sha256_digest1_mismatch_access' => "$conf_dir/hmac_sha256_digest1_mismatch_access.conf",
|
'hmac_sha256_digest1_mismatch_access' => "$conf_dir/hmac_sha256_digest1_mismatch_access.conf",
|
||||||
'hmac_sha256_digest2_mismatch_access' => "$conf_dir/hmac_sha256_digest2_mismatch_access.conf",
|
'hmac_sha256_digest2_mismatch_access' => "$conf_dir/hmac_sha256_digest2_mismatch_access.conf",
|
||||||
'hmac_sha256_digest3_mismatch_access' => "$conf_dir/hmac_sha256_digest3_mismatch_access.conf",
|
'hmac_sha256_digest3_mismatch_access' => "$conf_dir/hmac_sha256_digest3_mismatch_access.conf",
|
||||||
@ -600,6 +601,7 @@ our %cf = (
|
|||||||
'rc_hmac_sha1_short_key' => "$conf_dir/fwknoprc_hmac_sha1_short_key",
|
'rc_hmac_sha1_short_key' => "$conf_dir/fwknoprc_hmac_sha1_short_key",
|
||||||
'rc_hmac_sha1_long_key' => "$conf_dir/fwknoprc_hmac_sha1_long_key",
|
'rc_hmac_sha1_long_key' => "$conf_dir/fwknoprc_hmac_sha1_long_key",
|
||||||
'rc_hmac_sha256_key' => "$conf_dir/fwknoprc_hmac_sha256_key",
|
'rc_hmac_sha256_key' => "$conf_dir/fwknoprc_hmac_sha256_key",
|
||||||
|
'rc_hmac_sha3_256_key' => "$conf_dir/fwknoprc_hmac_sha3_256_key",
|
||||||
'rc_hmac_sha256_short_key' => "$conf_dir/fwknoprc_hmac_sha256_short_key",
|
'rc_hmac_sha256_short_key' => "$conf_dir/fwknoprc_hmac_sha256_short_key",
|
||||||
'rc_hmac_sha256_long_key' => "$conf_dir/fwknoprc_hmac_sha256_long_key",
|
'rc_hmac_sha256_long_key' => "$conf_dir/fwknoprc_hmac_sha256_long_key",
|
||||||
'rc_hmac_sha384_key' => "$conf_dir/fwknoprc_hmac_sha384_key",
|
'rc_hmac_sha384_key' => "$conf_dir/fwknoprc_hmac_sha384_key",
|
||||||
|
|||||||
@ -1346,6 +1346,20 @@
|
|||||||
'fw_rule_removed' => $NEW_RULE_REMOVED,
|
'fw_rule_removed' => $NEW_RULE_REMOVED,
|
||||||
'key_file' => $cf{'rc_hmac_sha512_key'},
|
'key_file' => $cf{'rc_hmac_sha512_key'},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'category' => 'Rijndael+HMAC',
|
||||||
|
'subcategory' => 'client+server',
|
||||||
|
'detail' => 'complete cycle SHA3_256 (tcp/22 ssh)',
|
||||||
|
'function' => \&spa_cycle,
|
||||||
|
'cmdline' => "$default_client_args_no_get_key --rc-file " .
|
||||||
|
"$cf{'rc_hmac_sha3_256_key'} --hmac-digest-type sha3_256",
|
||||||
|
'fwknopd_cmdline' => "$fwknopdCmd -c $cf{'def'} -a $cf{'hmac_sha3_256_access'} " .
|
||||||
|
"-d $default_digest_file -p $default_pid_file $intf_str",
|
||||||
|
'fw_rule_created' => $NEW_RULE_REQUIRED,
|
||||||
|
'fw_rule_removed' => $NEW_RULE_REMOVED,
|
||||||
|
'key_file' => $cf{'rc_hmac_sha3_256_key'},
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
'category' => 'Rijndael+HMAC',
|
'category' => 'Rijndael+HMAC',
|
||||||
'subcategory' => 'client+server',
|
'subcategory' => 'client+server',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user