diff options
author | Steve French <sfrench@us.ibm.com> | 2011-04-19 18:23:31 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-05-19 14:10:49 +0000 |
commit | 43988d76851077d2945080665e3c4e2e636d700a (patch) | |
tree | 8fe4d82c49687c47f496803197f2a8736a8e2dfc /fs/cifs/Kconfig | |
parent | 257208736acc694def83627fa0de2892490a5d42 (diff) | |
download | linux-stable-43988d76851077d2945080665e3c4e2e636d700a.tar.gz linux-stable-43988d76851077d2945080665e3c4e2e636d700a.tar.bz2 linux-stable-43988d76851077d2945080665e3c4e2e636d700a.zip |
[CIFS] Use ecb des kernel crypto APIs instead of
local cifs functions (repost)
Using kernel crypto APIs for DES encryption during LM and NT hash generation
instead of local functions within cifs.
Source file smbdes.c is deleted sans four functions, one of which
uses ecb des functionality provided by kernel crypto APIs.
Remove function SMBOWFencrypt.
Add return codes to various functions such as calc_lanman_hash,
SMBencrypt, and SMBNTencrypt. Includes fix noticed by Dan Carpenter.
Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
CC: Dan Carpenter <error27@gmail.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/Kconfig')
-rw-r--r-- | fs/cifs/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig index 7c584be27fdf..75c47cd8d086 100644 --- a/fs/cifs/Kconfig +++ b/fs/cifs/Kconfig @@ -7,6 +7,7 @@ config CIFS select CRYPTO_MD5 select CRYPTO_HMAC select CRYPTO_ARC4 + select CRYPTO_DES help This is the client VFS module for the Common Internet File System (CIFS) protocol which is the successor to the Server Message Block |