diff options
author | Aurelien Aptel <aaptel@suse.com> | 2018-02-16 19:19:29 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-04-02 03:24:40 +0200 |
commit | 8bd68c6e47abff34e412a0c68cecb4a36bf0198b (patch) | |
tree | 843fb398bb4b5f6ee1e6a5235bb9ce57a8d4b477 /fs/cifs/smb2proto.h | |
parent | CIFS: add sha512 secmech (diff) | |
download | linux-8bd68c6e47abff34e412a0c68cecb4a36bf0198b.tar.xz linux-8bd68c6e47abff34e412a0c68cecb4a36bf0198b.zip |
CIFS: implement v3.11 preauth integrity
SMB3.11 clients must implement pre-authentification integrity.
* new mechanism to certify requests/responses happening before Tree
Connect.
* supersedes VALIDATE_NEGOTIATE
* fixes signing for SMB3.11
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index 3b8e9c2e55bc..cbcce3f7e86f 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -204,5 +204,7 @@ extern enum securityEnum smb2_select_sectype(struct TCP_Server_Info *, enum securityEnum); #ifdef CONFIG_CIFS_SMB311 extern int smb311_crypto_shash_allocate(struct TCP_Server_Info *server); +extern int smb311_update_preauth_hash(struct cifs_ses *ses, + struct kvec *iov, int nvec); #endif #endif /* _SMB2PROTO_H */ |