]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e376e5704a1218a76968e4b1ba83e3eda2fbf36
tree6ab34c77d53b585d844c628893c2eebf4c249751
parentc162961d3f13283082b0cacbf8d4bd479866bde7
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]