WSL2-Linux-Kernel/arch/arm64/crypto
Ard Biesheuvel 49788fe2a1 arm64/crypto: AES-ECB/CBC/CTR/XTS using ARMv8 NEON and Crypto Extensions
This adds ARMv8 implementations of AES in ECB, CBC, CTR and XTS modes,
both for ARMv8 with Crypto Extensions and for plain ARMv8 NEON.

The Crypto Extensions version can only run on ARMv8 implementations that
have support for these optional extensions.

The plain NEON version is a table based yet time invariant implementation.
All S-box substitutions are performed in parallel, leveraging the wide range
of ARMv8's tbl/tbx instructions, and the huge NEON register file, which can
comfortably hold the entire S-box and still have room to spare for doing the
actual computations.

The key expansion routines were borrowed from aes_generic.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
2014-05-14 10:04:16 -07: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: AES-ECB/CBC/CTR/XTS using ARMv8 NEON and Crypto Extensions 2014-05-14 10:04:16 -07:00
aes-ce-ccm-core.S arm64/crypto: AES in CCM mode using ARMv8 Crypto Extensions 2014-05-14 10:04:15 -07:00
aes-ce-ccm-glue.c arm64/crypto: AES in CCM mode using ARMv8 Crypto Extensions 2014-05-14 10:04:15 -07:00
aes-ce-cipher.c arm64/crypto: AES using ARMv8 Crypto Extensions 2014-05-14 10:04:11 -07:00
aes-ce.S arm64/crypto: AES-ECB/CBC/CTR/XTS using ARMv8 NEON and Crypto Extensions 2014-05-14 10:04:16 -07:00
aes-glue.c arm64/crypto: AES-ECB/CBC/CTR/XTS using ARMv8 NEON and Crypto Extensions 2014-05-14 10:04:16 -07:00
aes-modes.S arm64/crypto: AES-ECB/CBC/CTR/XTS using ARMv8 NEON and Crypto Extensions 2014-05-14 10:04:16 -07:00
aes-neon.S arm64/crypto: AES-ECB/CBC/CTR/XTS using ARMv8 NEON and Crypto Extensions 2014-05-14 10:04:16 -07:00
ghash-ce-core.S arm64/crypto: GHASH secure hash using ARMv8 Crypto Extensions 2014-05-14 10:04:07 -07:00
ghash-ce-glue.c arm64/crypto: GHASH secure hash using ARMv8 Crypto Extensions 2014-05-14 10:04:07 -07:00
sha1-ce-core.S
sha1-ce-glue.c
sha2-ce-core.S arm64/crypto: SHA-224/SHA-256 using ARMv8 Crypto Extensions 2014-05-14 10:04:01 -07:00
sha2-ce-glue.c arm64/crypto: SHA-224/SHA-256 using ARMv8 Crypto Extensions 2014-05-14 10:04:01 -07:00