diff options
author | Aurelien Aptel <aaptel@suse.com> | 2018-02-16 19:19:28 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-04-02 03:24:39 +0200 |
commit | 5fcd7f3f966f37f3f9a215af4cc1597fe338d0d5 (patch) | |
tree | 205047056dc838730ff6f1acd73789b99671fa44 /fs/cifs/smb2proto.h | |
parent | CIFS: refactor crypto shash/sdesc allocation&free (diff) | |
download | linux-5fcd7f3f966f37f3f9a215af4cc1597fe338d0d5.tar.xz linux-5fcd7f3f966f37f3f9a215af4cc1597fe338d0d5.zip |
CIFS: add sha512 secmech
* prepare for SMB3.11 pre-auth integrity
* enable sha512 when SMB311 is enabled in Kconfig
* add sha512 as a soft dependency
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index 05287b01f596..3b8e9c2e55bc 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -202,4 +202,7 @@ extern int smb3_validate_negotiate(const unsigned int, struct cifs_tcon *); 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); +#endif #endif /* _SMB2PROTO_H */ |