diff options
author | Eric Biggers <ebiggers@google.com> | 2019-01-31 07:42:42 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-02-08 10:29:48 +0300 |
commit | 6227cd12e51c89c9af320e4e429120c8b83c6bd1 (patch) | |
tree | bf50d2ba664f4495bdc76cfa967ae7e23dd6cc31 /drivers/crypto | |
parent | e7b3ed338097b1237ca03b05fe36ec1517d328d5 (diff) | |
download | linux-6227cd12e51c89c9af320e4e429120c8b83c6bd1.tar.xz |
crypto: arm64/crct10dif-ce - cleanup and optimizations
The x86, arm, and arm64 asm implementations of crct10dif are very
difficult to understand partly because many of the comments, labels, and
macros are named incorrectly: the lengths mentioned are usually off by a
factor of two from the actual code. Many other things are unnecessarily
convoluted as well, e.g. there are many more fold constants than
actually needed and some aren't fully reduced.
This series therefore cleans up all these implementations to be much
more maintainable. I also made some small optimizations where I saw
opportunities, resulting in slightly better performance.
This patch cleans up the arm64 version.
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions