diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-08-15 11:01:12 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-22 06:57:34 +0200 |
commit | 9a394d1208147715b8a365f44b4e7bfbb2094748 (patch) | |
tree | 7126f454de1e419a794dcd87c5c2d4fca52c9793 /fs/cifs/Kconfig | |
parent | crypto: des - remove now unused __des3_ede_setkey() (diff) | |
download | linux-9a394d1208147715b8a365f44b4e7bfbb2094748.tar.xz linux-9a394d1208147715b8a365f44b4e7bfbb2094748.zip |
fs: cifs: move from the crypto cipher API to the new DES library interface
Some legacy code in the CIFS driver uses single DES to calculate
some password hash, and uses the crypto cipher API to do so. Given
that there is no point in invoking an accelerated cipher for doing
56-bit symmetric encryption on a single 8-byte block of input, the
flexibility of the crypto cipher API does not add much value here,
and so we're much better off using a library call into the generic
C implementation.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/cifs/Kconfig')
-rw-r--r-- | fs/cifs/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig index b16219e5dac9..350bc3061656 100644 --- a/fs/cifs/Kconfig +++ b/fs/cifs/Kconfig @@ -16,7 +16,7 @@ config CIFS select CRYPTO_GCM select CRYPTO_ECB select CRYPTO_AES - select CRYPTO_DES + select CRYPTO_LIB_DES select KEYS help This is the client VFS module for the SMB3 family of NAS protocols, |