OSDN Git Service

crypto: x86 - remove SHA multibuffer routines and mcryptd
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 22 Aug 2018 08:51:44 +0000 (10:51 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 4 Sep 2018 03:37:04 +0000 (11:37 +0800)
commitab8085c130edd65be0d95cc95c28b51c4c6faf9d
tree7c73b7bb77e36f184cae8609576276aeeec85d44
parent820684cc269f8295f13c890491dcbe07fdc647af
crypto: x86 - remove SHA multibuffer routines and mcryptd

As it turns out, the AVX2 multibuffer SHA routines are currently
broken [0], in a way that would have likely been noticed if this
code were in wide use. Since the code is too complicated to be
maintained by anyone except the original authors, and since the
performance benefits for real-world use cases are debatable to
begin with, it is better to drop it entirely for the moment.

[0] https://marc.info/?l=linux-crypto-vger&m=153476243825350&w=2

Suggested-by: Eric Biggers <ebiggers@google.com>
Cc: Megha Dey <megha.dey@linux.intel.com>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
47 files changed:
MAINTAINERS
arch/m68k/configs/amiga_defconfig
arch/m68k/configs/apollo_defconfig
arch/m68k/configs/atari_defconfig
arch/m68k/configs/bvme6000_defconfig
arch/m68k/configs/hp300_defconfig
arch/m68k/configs/mac_defconfig
arch/m68k/configs/multi_defconfig
arch/m68k/configs/mvme147_defconfig
arch/m68k/configs/mvme16x_defconfig
arch/m68k/configs/q40_defconfig
arch/m68k/configs/sun3_defconfig
arch/m68k/configs/sun3x_defconfig
arch/s390/configs/debug_defconfig
arch/s390/configs/performance_defconfig
arch/x86/crypto/Makefile
arch/x86/crypto/sha1-mb/Makefile [deleted file]
arch/x86/crypto/sha1-mb/sha1_mb.c [deleted file]
arch/x86/crypto/sha1-mb/sha1_mb_ctx.h [deleted file]
arch/x86/crypto/sha1-mb/sha1_mb_mgr.h [deleted file]
arch/x86/crypto/sha1-mb/sha1_mb_mgr_datastruct.S [deleted file]
arch/x86/crypto/sha1-mb/sha1_mb_mgr_flush_avx2.S [deleted file]
arch/x86/crypto/sha1-mb/sha1_mb_mgr_init_avx2.c [deleted file]
arch/x86/crypto/sha1-mb/sha1_mb_mgr_submit_avx2.S [deleted file]
arch/x86/crypto/sha1-mb/sha1_x8_avx2.S [deleted file]
arch/x86/crypto/sha256-mb/Makefile [deleted file]
arch/x86/crypto/sha256-mb/sha256_mb.c [deleted file]
arch/x86/crypto/sha256-mb/sha256_mb_ctx.h [deleted file]
arch/x86/crypto/sha256-mb/sha256_mb_mgr.h [deleted file]
arch/x86/crypto/sha256-mb/sha256_mb_mgr_datastruct.S [deleted file]
arch/x86/crypto/sha256-mb/sha256_mb_mgr_flush_avx2.S [deleted file]
arch/x86/crypto/sha256-mb/sha256_mb_mgr_init_avx2.c [deleted file]
arch/x86/crypto/sha256-mb/sha256_mb_mgr_submit_avx2.S [deleted file]
arch/x86/crypto/sha256-mb/sha256_x8_avx2.S [deleted file]
arch/x86/crypto/sha512-mb/Makefile [deleted file]
arch/x86/crypto/sha512-mb/sha512_mb.c [deleted file]
arch/x86/crypto/sha512-mb/sha512_mb_ctx.h [deleted file]
arch/x86/crypto/sha512-mb/sha512_mb_mgr.h [deleted file]
arch/x86/crypto/sha512-mb/sha512_mb_mgr_datastruct.S [deleted file]
arch/x86/crypto/sha512-mb/sha512_mb_mgr_flush_avx2.S [deleted file]
arch/x86/crypto/sha512-mb/sha512_mb_mgr_init_avx2.c [deleted file]
arch/x86/crypto/sha512-mb/sha512_mb_mgr_submit_avx2.S [deleted file]
arch/x86/crypto/sha512-mb/sha512_x4_avx2.S [deleted file]
crypto/Kconfig
crypto/Makefile
crypto/mcryptd.c [deleted file]
include/crypto/mcryptd.h [deleted file]