]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
CIFS: Enable encryption during session setup phase
authorPavel Shilovsky <pshilov@microsoft.com>
Tue, 8 Nov 2016 02:20:50 +0000 (18:20 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Tue, 7 Mar 2017 17:04:36 +0000 (10:04 -0700)
commit99866e88b87028c1f650eb11d104b0e245bf3971
tree72d4428a7fd0e83e434c9544aac2d2cf8f7a1c84
parent7dc5ef8b1bc4292680952975aefd91b3aa151093
CIFS: Enable encryption during session setup phase

BugLink: http://bugs.launchpad.net/bugs/1670508
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>
(cherry picked from commit cabfb3680f78981d26c078a26e5c748531257ebb)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
fs/cifs/sess.c
fs/cifs/smb2pdu.c