crypto: arm64/aes-ccm - remove non-SIMD fallback path
authorArd Biesheuvel <ardb@kernel.org>
Fri, 27 Aug 2021 07:03:40 +0000 (09:03 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 17 Sep 2021 03:05:11 +0000 (11:05 +0800)
commitb3482635e5d69c8a40288bd025f61a994b3b1126
treec38fef5b3dc3412040cd6c28d91e021158b61f17
parent36a916af641dc71ef7d4b98417bf4019ddeb4ebe
crypto: arm64/aes-ccm - remove non-SIMD fallback path

AES/CCM on arm64 is implemented as a synchronous AEAD, and so it is
guaranteed by the API that it is only invoked in task or softirq
context. Since softirqs are now only handled when the SIMD is not
being used in the task context that was interrupted to service the
softirq, we no longer need a fallback path. Let's remove it.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/aes-ce-ccm-glue.c