OSDN Git Service

crypto: x86/aes-ni - remove special handling of AES in PCBC mode
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 24 Sep 2018 12:48:16 +0000 (14:48 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 5 Oct 2018 02:16:56 +0000 (10:16 +0800)
commit944585a64f5e37d11ff274a905304b565a88e147
tree9802a55bd00eab52d59bfa7fe6b7b01a83446863
parent79517e8f8e6dddd2a90517123ffdb366828b69f5
crypto: x86/aes-ni - remove special handling of AES in PCBC mode

For historical reasons, the AES-NI based implementation of the PCBC
chaining mode uses a special FPU chaining mode wrapper template to
amortize the FPU start/stop overhead over multiple blocks.

When this FPU wrapper was introduced, it supported widely used
chaining modes such as XTS and CTR (as well as LRW), but currently,
PCBC is the only remaining user.

Since there are no known users of pcbc(aes) in the kernel, let's remove
this special driver, and rely on the generic pcbc driver to encapsulate
the AES-NI core cipher.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/Makefile
arch/x86/crypto/aesni-intel_glue.c
arch/x86/crypto/fpu.c [deleted file]
crypto/Kconfig