diff options
Diffstat (limited to 'include/crc64.h')
-rw-r--r-- | include/crc64.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/crc64.h b/include/crc64.h new file mode 100644 index 0000000..7cd2c4c --- /dev/null +++ b/include/crc64.h @@ -0,0 +1,12 @@ +#ifndef UL_CRC64_H +#define UL_CRC64_H + +#include <sys/types.h> +#include <stdint.h> + +extern uint64_t ul_crc64_ecma(const unsigned char *input_str, size_t num_bytes); +extern uint64_t ul_crc64_we(const unsigned char *input_str, size_t num_bytes); +extern uint64_t ul_update_crc64(uint64_t crc, unsigned char c); + +#endif + |