Add optimized crc32c

This commit is contained in:
Vitaliy Filippov
2019-11-25 02:30:06 +03:00
parent be3015169f
commit d0fdcbd7ff
3 changed files with 362 additions and 107 deletions
+1 -2
View File
@@ -8,5 +8,4 @@
// unsigned __int64 _mm_crc32_u64 (unsigned __int64 crc, unsigned __int64 v)
// unsigned int _mm_crc32_u8 (unsigned int crc, unsigned char v)
uint32_t crc32c(uint8_t *buf, int len);
uint32_t crc32c_zero4(uint8_t *buf, int len);
uint32_t crc32c(uint32_t crc, const void *buf, size_t len);