]> git.baikalelectronics.ru Git - kernel.git/commit
[CIFS] Use ecb des kernel crypto APIs instead of
authorSteve French <sfrench@us.ibm.com>
Tue, 19 Apr 2011 18:23:31 +0000 (18:23 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 19 May 2011 14:10:49 +0000 (14:10 +0000)
commit9fa94f54ffc614a110a99bf79e02b4f03ba19a43
tree8fe4d82c49687c47f496803197f2a8736a8e2dfc
parent6158386dcb9a74402eb27241c79d6b36834f64c1
[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>
fs/cifs/Kconfig
fs/cifs/Makefile
fs/cifs/cifsencrypt.c
fs/cifs/cifsproto.h
fs/cifs/sess.c
fs/cifs/smbdes.c [deleted file]
fs/cifs/smbencrypt.c