crc32.h 294 B

12345678910111213
  1. /*
  2. * This code was taken from the linux kernel. The license is GPL Version 2.
  3. */
  4. #ifndef __CRC32_H__
  5. #define __CRC32_H__
  6. #include <stdint.h>
  7. /* Return a 32-bit CRC of the contents of the buffer */
  8. extern uint32_t mtd_crc32(uint32_t val, const void *ss, int len);
  9. #endif /* __CRC32_H__ */