blob: 357ae4611a4539e0cba582941e5c85095238272e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef _LINUX_CRC32C_H
3#define _LINUX_CRC32C_H
4
5#include <linux/types.h>
6
Herbert Xu69c35ef2008-11-07 15:11:47 +08007extern u32 crc32c(u32 crc, const void *address, unsigned int length);
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Herbert Xu0426c162008-11-11 12:20:06 +08009/* This macro exists for backwards-compatibility. */
10#define crc32c_le crc32c
11
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#endif /* _LINUX_CRC32C_H */