CIFS: Enable encryption during session setup phase
authorPavel Shilovsky <pshilov@microsoft.com>
Tue, 8 Nov 2016 02:20:50 +0000 (18:20 -0800)
committerSteve French <smfrench@gmail.com>
Wed, 1 Feb 2017 22:46:36 +0000 (16:46 -0600)
commitcabfb3680f78981d26c078a26e5c748531257ebb
tree583b74b9c79e8787c5e8179c0b2341fa0cd6c389
parent7fb8986e7449d0a5cebd84d059927afa423fbf85
CIFS: Enable encryption during session setup phase

In order to allow encryption on SMB connection we need to exchange
a session key and generate encryption and decryption keys.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/sess.c
fs/cifs/smb2pdu.c