kernel_platform/common (Android common kernel, android16-6.12) from opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII), unmodified. This is the kernel Sony ships, so stock-built modules (e.g. the WLAN driver, whose source is not in the archive) match it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
19 lines
539 B
C
19 lines
539 B
C
/* 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 */
|