]> 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)
commit6485b8741fae0cf34a300bc4ceba1db050b6f403
tree6ab34c77d53b585d844c628893c2eebf4c249751
parentba71edfff81cfc8bae2bf24773887c9f9e841046
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]