linux/arch/arm64/crypto
Ard Biesheuvel a2fcebf03d crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes
commit 11e3b725cf upstream.

Update the ARMv8 Crypto Extensions and the plain NEON AES implementations
in CBC and CTR modes to return the next IV back to the skcipher API client.
This is necessary for chaining to work correctly.

Note that for CTR, this is only done if the request is a round multiple of
the block size, since otherwise, chaining is impossible anyway.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-03-16 02:27:04 +00:00
..
aes-ce-ccm-core.S crypto: arm64/aes-ccm-ce: fix for big endian 2017-03-16 02:26:16 +00:00
aes-ce-ccm-glue.c crypto: prefix module autoloading with "crypto-" 2015-02-04 10:57:48 +00:00
aes-ce-cipher.c arm64/crypto: AES using ARMv8 Crypto Extensions 2014-05-14 10:04:11 -07:00
aes-ce.S crypto: arm64/aes-xts-ce: fix for big endian 2017-03-16 02:26:16 +00:00
aes-glue.c crypto: arm64/aes-ctr - fix NULL dereference in tail processing 2016-11-20 01:17:26 +00:00
aes-modes.S crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes 2017-03-16 02:27:04 +00:00
aes-neon.S crypto: arm64/aes-neon - fix for big endian 2017-03-16 02:26:16 +00:00
ghash-ce-core.S crypto: arm64/ghash-ce - fix for big endian 2017-03-16 02:26:15 +00:00
ghash-ce-glue.c arm64/crypto: improve performance of GHASH algorithm 2014-06-18 12:40:54 +01:00
Kconfig arm64/crypto: AES-ECB/CBC/CTR/XTS using ARMv8 NEON and Crypto Extensions 2014-05-14 10:04:16 -07:00
Makefile arm64/crypto: fix makefile rule for aes-glue-%.o 2014-12-01 13:47:12 +00:00
sha1-ce-core.S crypto: arm64/sha1-ce - fix for big endian 2017-03-16 02:26:15 +00:00
sha1-ce-glue.c arm64/crypto: SHA-1 using ARMv8 Crypto Extensions 2014-05-14 10:03:17 -07:00
sha2-ce-core.S crypto: arm64/sha2-ce - fix for big endian 2017-03-16 02:26:16 +00:00
sha2-ce-glue.c arm64/crypto: SHA-224/SHA-256 using ARMv8 Crypto Extensions 2014-05-14 10:04:01 -07:00