https://github.com/torvalds/linux
Raw File
Tip revision: d566ec94e63702a1bf83f43804b021a8f478a27b authored by dependabot[bot] on 02 November 2023, 21:52:54 UTC
build(deps): bump pip from 23.2.1 to 23.3 in /drivers/gpu/drm/ci/xfails
Tip revision: d566ec9
crc64.h
/* 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"

u64 __pure crc64_be(u64 crc, const void *p, size_t len);
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);

#endif /* _LINUX_CRC64_H */
back to top