]> git.ipfire.org Git - thirdparty/util-linux.git/blob - include/crc64.h
Merge branch 'ci/cache-openwrt-sdk' of https://github.com/t-8ch/util-linux
[thirdparty/util-linux.git] / include / crc64.h
1 /* SPDX-License-Identifier: MIT
2 *
3 * This file is licensed under the MIT License.
4 */
5 #ifndef UL_CRC64_H
6 #define UL_CRC64_H
7
8 #include <sys/types.h>
9 #include <stdint.h>
10
11 extern uint64_t ul_crc64_ecma(const unsigned char *input_str, size_t num_bytes);
12 extern uint64_t ul_crc64_we(const unsigned char *input_str, size_t num_bytes);
13 extern uint64_t ul_update_crc64(uint64_t crc, unsigned char c);
14
15 #endif
16