]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CIFS: Enable signing in SMB2
authorPavel Shilovsky <pshilovsky@samba.org>
Thu, 12 Jul 2012 14:25:23 +0000 (18:25 +0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 14 Sep 2012 14:43:31 +0000 (09:43 -0500)
commit7f8878764b204114d35c518e18da838154157699
tree68be9f1a323165dfaaafb31c21ee0bbeced6b959
parentdef634fd17e57828dddb43f4bfa35366040a8504
CIFS: Enable signing in SMB2

Use hmac-sha256 and rather than hmac-md5 that is used for CIFS/SMB.

Signature field in SMB2 header is 16 bytes instead of 8 bytes.

Automatically enable signing by client when requested by the server
when signing ability is available to the client.

Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/Kconfig
fs/cifs/cifsencrypt.c
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/smb2glob.h
fs/cifs/smb2pdu.c
fs/cifs/smb2proto.h
fs/cifs/smb2transport.c
fs/cifs/transport.c