Crypto Fixes for 4.1

From: Herbert Xu
Date: Mon May 11 2015 - 01:56:25 EST

Hi Linus:

This push fixes a the implementation of CRC32 on arm64 where it
incorrectly applied negation on the result. It also fixes the
arm64 implementations of SHA/SHA256 where in some cases it may
end up finalising the result twice.

Please pull from



Ard Biesheuvel (3):
crypto: arm64/crc32 - bring in line with generic CRC32
crypto: arm64/sha1-ce - prevent asm code finalization in final() path
crypto: arm64/sha2-ce - prevent asm code finalization in final() path

arch/arm64/crypto/crc32-arm64.c | 22 +++++++++++++++++++---
arch/arm64/crypto/sha1-ce-glue.c | 3 +++
arch/arm64/crypto/sha2-ce-glue.c | 3 +++
3 files changed, 25 insertions(+), 3 deletions(-)

Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at