blob: bd21af828ff6fdea09d7af2ca8b864b60cccca87 [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);
Nikolay Borisovdf91f562018-01-08 11:45:04 +02008extern const char *crc32c_impl(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Herbert Xu0426c162008-11-11 12:20:06 +080010/* This macro exists for backwards-compatibility. */
11#define crc32c_le crc32c
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#endif /* _LINUX_CRC32C_H */