Skip to content
Commit f6f203fa authored by Yazen Ghannam's avatar Yazen Ghannam Committed by Herbert Xu
Browse files

crypto: crc32 - Add ARM64 CRC32 hw accelerated module



This module registers a crc32 algorithm and a crc32c algorithm
that use the optional CRC32 and CRC32C instructions in ARMv8.

Tested on AMD Seattle.

Improvement compared to crc32c-generic algorithm:
TCRYPT CRC32C speed test shows ~450% speedup.
Simple dd write tests to btrfs filesystem show ~30% speedup.

Signed-off-by: default avatarYazen Ghannam <yazen.ghannam@linaro.org>
Acked-by: default avatarSteve Capper <steve.capper@linaro.org>
Acked-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent aa408d60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment