diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-03-21 10:19:17 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-05-14 19:04:16 +0200 |
commit | 49788fe2a128217f78a21ee4edbe6e92e988f222 (patch) | |
tree | 099911b2fbbb8b06f4b50cc9bf1f6cb9e374f755 /include/asm-generic/Kbuild.asm | |
parent | arm64: pull in <asm/simd.h> from asm-generic (diff) | |
download | linux-49788fe2a128217f78a21ee4edbe6e92e988f222.tar.xz linux-49788fe2a128217f78a21ee4edbe6e92e988f222.zip |
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>
Diffstat (limited to 'include/asm-generic/Kbuild.asm')
0 files changed, 0 insertions, 0 deletions