crypto: des - split off DES library from generic DES cipher driver
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 15 Aug 2019 09:01:09 +0000 (12:01 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Aug 2019 04:57:33 +0000 (14:57 +1000)
commit04007b0e6cbbab5836ac891626e91edf10d46341
tree6ab34c77d53b585d844c628893c2eebf4c249751
parent6b5c4818621fb0d3eda1d4059634b38e09bd7243
crypto: des - split off DES library from generic DES cipher driver

Another one for the cipher museum: split off DES core processing into
a separate module so other drivers (mostly for crypto accelerators)
can reuse the code without pulling in the generic DES cipher itself.
This will also permit the cipher interface to be made private to the
crypto API itself once we move the only user in the kernel (CIFS) to
this library interface.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
13 files changed:
arch/x86/crypto/des3_ede_glue.c
crypto/Kconfig
crypto/des_generic.c
drivers/crypto/Kconfig
drivers/crypto/caam/Kconfig
drivers/crypto/cavium/nitrox/Kconfig
drivers/crypto/inside-secure/safexcel_cipher.c
drivers/crypto/stm32/Kconfig
drivers/crypto/ux500/Kconfig
include/crypto/des.h
include/crypto/internal/des.h
lib/crypto/Makefile
lib/crypto/des.c [new file with mode: 0644]