aboutsummaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
authorVladimir Gavrilov <105977161+0xA50C1A1@users.noreply.github.com>2023-12-05 17:58:11 +0300
committerGitHub <noreply@github.com>2023-12-05 15:58:11 +0100
commit72601a69ffb97709136ad6b67ba720ca8109f898 (patch)
tree6965314cb82bba8836be18cd1181e9eebf5d2d4d /fuzz
parentbe50493f4480a17fbcd88a4ae9cc6b825bc5970d (diff)
Add some fast CRC16 algorithms implementation (#2195)
* Add some fast CRC16 algorithms implementation * Update ndpi_crc.c * Move crc16 stuff to ndpi_analyze.c * IEEE C37.118: use new fast CRC-16/CCITT-FALSE implementation
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/fuzz_alg_crc32_md5.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fuzz/fuzz_alg_crc32_md5.c b/fuzz/fuzz_alg_crc32_md5.c
index def56566c..8f5ee36c0 100644
--- a/fuzz/fuzz_alg_crc32_md5.c
+++ b/fuzz/fuzz_alg_crc32_md5.c
@@ -9,6 +9,9 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
/* Used for crc32, md5, hash(es) and popcount algs */
+ ndpi_crc16_ccit(data, size);
+ ndpi_crc16_ccit_false(data, size);
+ ndpi_crc16_xmodem(data, size);
ndpi_crc32(data, size);
ndpi_md5(data, size, hash);