summaryrefslogblamecommitdiff
path: root/include/linux/crc32c.h
blob: bd21af828ff6fdea09d7af2ca8b864b60cccca87 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                      




                        
                                                                     
                                     
 


                                                    
                             
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_CRC32C_H
#define _LINUX_CRC32C_H

#include <linux/types.h>

extern u32 crc32c(u32 crc, const void *address, unsigned int length);
extern const char *crc32c_impl(void);

/* This macro exists for backwards-compatibility. */
#define crc32c_le crc32c

#endif	/* _LINUX_CRC32C_H */