Crypto Fixes for 4.1

Herbert Xu
2015-05-11T05:56:21Z

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

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git

or

master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git

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(-)