android_kernel_lge_bullhead/arch/arm64/crypto
Ard Biesheuvel 25fd17eb05 crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes
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.

Cc: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-08-26 16:59:47 +02:00
..
Kconfig crypto: arm64/sha2 - integrate OpenSSL implementations of SHA256/SHA512 2019-08-26 16:59:46 +02:00
Makefile crypto: arm64/sha2 - integrate OpenSSL implementations of SHA256/SHA512 2019-08-26 16:59:46 +02:00
aes-ce-ccm-core.S arm64/crypto: issue aese/aesmc instructions in pairs 2015-08-27 09:23:19 -07:00
aes-ce-ccm-glue.c arm64/crypto: use crypto instructions to generate AES key schedule 2015-08-27 09:23:31 -07:00
aes-ce-cipher.c arm64/crypto: use crypto instructions to generate AES key schedule 2015-08-27 09:23:31 -07:00
aes-ce-setkey.h arm64/crypto: use crypto instructions to generate AES key schedule 2015-08-27 09:23:31 -07:00
aes-ce.S arm64/crypto: issue aese/aesmc instructions in pairs 2015-08-27 09:23:19 -07:00
aes-glue.c crypto: xts - fix compile errors 2019-08-26 16:59:14 +02:00
aes-modes.S crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes 2019-08-26 16:59:47 +02:00
aes-neon.S arm64/crypto: AES-ECB/CBC/CTR/XTS using ARMv8 NEON and Crypto Extensions 2014-08-15 11:46:40 -07:00
crc32-arm64.c crypto: arm64/crc32 - bring in line with generic CRC32 2019-08-26 16:59:07 +02:00
crc32-ce-core.S crypto: arm64/crc32 - accelerated support based on x86 SSE implementation 2019-08-26 16:59:45 +02:00
crc32-ce-glue.c crypto: arm64/crc32 - accelerated support based on x86 SSE implementation 2019-08-26 16:59:45 +02:00
ghash-ce-core.S arm64/crypto: improve performance of GHASH algorithm 2014-08-15 17:22:12 -07:00
ghash-ce-glue.c arm64/crypto: improve performance of GHASH algorithm 2014-08-15 17:22:12 -07:00
sha1-ce-core.S crypto: arm64/sha1-ce - move SHA-1 ARMv8 implementation to base layer 2019-08-26 16:59:07 +02:00
sha1-ce-glue.c crypto: arm64/sha1-ce - prevent asm code finalization in final() path 2019-08-26 16:59:08 +02:00
sha2-ce-core.S crypto: arm64/sha2-ce - move SHA-224/256 ARMv8 implementation to base layer 2019-08-26 16:59:08 +02:00
sha2-ce-glue.c crypto: arm64/sha2-ce - prevent asm code finalization in final() path 2019-08-26 16:59:09 +02:00
sha256-core.S_shipped crypto: arm64/sha2 - integrate OpenSSL implementations of SHA256/SHA512 2019-08-26 16:59:46 +02:00
sha256-glue.c crypto: arm64/sha2 - integrate OpenSSL implementations of SHA256/SHA512 2019-08-26 16:59:46 +02:00
sha512-armv8.pl crypto: arm64/sha2 - integrate OpenSSL implementations of SHA256/SHA512 2019-08-26 16:59:46 +02:00
sha512-core.S_shipped crypto: arm64/sha2 - integrate OpenSSL implementations of SHA256/SHA512 2019-08-26 16:59:46 +02:00
sha512-glue.c crypto: arm64/sha2 - integrate OpenSSL implementations of SHA256/SHA512 2019-08-26 16:59:46 +02:00