mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
lib: Add CRC32-C
This is needed for BTRFS. Signed-off-by: Marek Behun <marek.behun@nic.cz> create mode 100644 lib/crc32c.c
This commit is contained in:
@@ -28,4 +28,8 @@ uint32_t crc32_no_comp (uint32_t, const unsigned char *, uint);
|
||||
void crc32_wd_buf(const unsigned char *input, uint ilen,
|
||||
unsigned char *output, uint chunk_sz);
|
||||
|
||||
/* lib/crc32c.c */
|
||||
void crc32c_init(uint32_t *, uint32_t);
|
||||
uint32_t crc32c_cal(uint32_t, const char *, int, uint32_t *);
|
||||
|
||||
#endif /* _UBOOT_CRC_H */
|
||||
|
Reference in New Issue
Block a user