Add AVX2 implementation of CRC16-IBM.

This commit is contained in:
2025-08-21 00:58:51 +01:00
parent b8a97a8a05
commit 83fb4955f2
5 changed files with 261 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ static inline uint16_t crc16_block_slice_by_8(const uint8_t *p, size_t n)
}
AARU_EXPORT TARGET_WITH_CLMUL int AARU_CALL crc16_ccitt_update_clmul(crc16_ccitt_ctx *ctx, const uint8_t *data,
uint32_t len);
uint32_t len)
{
if(!ctx || !data) return -1;