diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-02-03 17:49:37 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-11 12:50:45 +0300 |
commit | 4860620da7e5752d916737472c40be573aec1869 (patch) | |
tree | a7a31ae6b278e8fc9faef7183686ecad14220b8c /crypto/Makefile | |
parent | f15f05b0a5de667c821a9727c33bce9d1d9b26dd (diff) | |
download | linux-4860620da7e5752d916737472c40be573aec1869.tar.xz |
crypto: arm64/aes - add NEON/Crypto Extensions CBCMAC/CMAC/XCBC driver
On ARMv8 implementations that do not support the Crypto Extensions,
such as the Raspberry Pi 3, the CCM driver falls back to the generic
table based AES implementation to perform the MAC part of the
algorithm, which is slow and not time invariant. So add a CBCMAC
implementation to the shared glue code between NEON AES and Crypto
Extensions AES, so that it can be used instead now that the CCM
driver has been updated to look for CBCMAC implementations other
than the one it supplies itself.
Also, given how these algorithms mostly only differ in the way the key
handling and the final encryption are implemented, expose CMAC and XCBC
algorithms as well based on the same core update code.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Makefile')
0 files changed, 0 insertions, 0 deletions