Add module and unit test for hash-mode 17700

This commit is contained in:
mhasbini
2019-01-22 21:32:31 +02:00
parent e1234a4bbc
commit 5497154a89
4 changed files with 217 additions and 66 deletions
-2
View File
@@ -1042,7 +1042,6 @@ typedef enum kern_type
KERN_TYPE_SHA3_256 = 17400,
KERN_TYPE_SHA3_384 = 17500,
KERN_TYPE_SHA3_512 = 17600,
KERN_TYPE_KECCAK_224 = 17700,
KERN_TYPE_KECCAK_256 = 17800,
KERN_TYPE_KECCAK_384 = 17900,
KERN_TYPE_KECCAK_512 = 18000,
@@ -1136,7 +1135,6 @@ int dcc2_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_bu
int episerver_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int postgresql_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int netscreen_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int keccak_224_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int keccak_256_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int keccak_384_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);
int keccak_512_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED hashconfig_t *hashconfig);