Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: mips/crc32 - fix the CRC32C implementation
Commit ca459e5f826f ("crypto: mips/crc32 - Clean up useless assignment operations") changed crc32c_mips_le_hw() to use the instructions that use the "regular" CRC32 polynomial instead of the Castagnoli polynomial. Therefore it can't be computing CRC32C values correctly anymore. I haven't been successful in running a MIPS kernel in QEMU, but based on code review this is the fix that is needed. Fixes: ca459e5f826f ("crypto: mips/crc32 - Clean up useless assignment operations") Cc: Guan Wentao <[email protected]> Cc: WangYuli <[email protected]> Signed-off-by: Eric Biggers <[email protected]> Acked-by: Wentao Guan <[email protected]> Acked-by: WangYuli <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information