Skip to content

Commit

Permalink
switched to Pearson B. Hashing (#570)
Browse files Browse the repository at this point in the history
* switched to Pearson B. Hashing

* switched to Pearson B. Hashing
  • Loading branch information
Logan007 authored Jan 7, 2021
1 parent a2c6c7c commit 8089200
Show file tree
Hide file tree
Showing 2 changed files with 150 additions and 367 deletions.
11 changes: 2 additions & 9 deletions include/pearson.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (C) 2007-20 - ntop.org and contributors
* (C) 2007-21 - ntop.org and contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -20,14 +20,7 @@
#include <stddef.h>
#include <stdint.h>


#if defined (__SSSE3__) && defined (__AES__) // AES-NI & SSSE3 ----------------------------------------------------


#include <immintrin.h>


#endif // AES-NI & SSSE3 ------------------------------------------------------------------------------------------
#include "portable_endian.h"


void pearson_hash_256 (uint8_t *out, const uint8_t *in, size_t len);
Expand Down
Loading

0 comments on commit 8089200

Please sign in to comment.