summaryrefslogtreecommitdiffstats
path: root/include/crc64.h
blob: 6bdd079cf4116fbb2b0696579e64f5701d0987cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: MIT
 *
 * This file is licensed under the MIT License.
 */
#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