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
This commit is contained in:
Vladimir Gavrilov
2023-12-05 15:58:11 +01:00
committed by GitHub
parent be50493f44
commit 72601a69ff
4 changed files with 102 additions and 15 deletions
+3
View File
@@ -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);