Files
kernel/include/linux/crc64.h
T

19 lines
539 B
C
Raw Normal View History

2018-08-21 21:57:11 -07:00
/* SPDX-License-Identifier: GPL-2.0 */
/*
* See lib/crc64.c for the related specification and polynomial arithmetic.
*/
#ifndef _LINUX_CRC64_H
#define _LINUX_CRC64_H
#include <linux/types.h>
#define CRC64_ROCKSOFT_STRING "crc64-rocksoft"
2018-08-21 21:57:11 -07:00
u64 __pure crc64_be(u64 crc, const void *p, size_t len);
2022-03-03 12:13:09 -08:00
u64 __pure crc64_rocksoft_generic(u64 crc, const void *p, size_t len);
u64 crc64_rocksoft(const unsigned char *buffer, size_t len);
u64 crc64_rocksoft_update(u64 crc, const unsigned char *buffer, size_t len);
2018-08-21 21:57:11 -07:00
#endif /* _LINUX_CRC64_H */