Searched refs:ntlmssp (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/smb/client/ |
| H A D | sess.c | 15 #include "ntlmssp.h" 681 ses->ntlmssp->client_flags, server_flags); in decode_ntlmssp_challenge() 683 if ((ses->ntlmssp->client_flags & (NTLMSSP_NEGOTIATE_SEAL | NTLMSSP_NEGOTIATE_SIGN)) && in decode_ntlmssp_challenge() 698 if ((ses->ntlmssp->client_flags & NTLMSSP_NEGOTIATE_KEY_XCH) && in decode_ntlmssp_challenge() 703 ses->ntlmssp->server_flags = server_flags; in decode_ntlmssp_challenge() 705 memcpy(ses->ntlmssp->cryptkey, pblob->Challenge, CIFS_CRYPTO_KEY_SIZE); in decode_ntlmssp_challenge() 792 /* BB Move to ntlmssp.c eventually */ in build_ntlmssp_negotiate_blob() 825 if (!server->session_estab || ses->ntlmssp->sesskey_per_smbsess) in build_ntlmssp_negotiate_blob() 829 ses->ntlmssp->client_flags = flags; in build_ntlmssp_negotiate_blob() 851 * Build ntlmssp blo [all...] |
| H A D | smb1session.c | 13 #include "ntlmssp.h" 721 ses->ntlmssp = kmalloc_obj(struct ntlmssp_auth); in sess_auth_rawntlmssp_negotiate() 722 if (!ses->ntlmssp) { in sess_auth_rawntlmssp_negotiate() 726 ses->ntlmssp->sesskey_per_smbsess = false; in sess_auth_rawntlmssp_negotiate() 800 kfree_sensitive(ses->ntlmssp); in sess_auth_rawntlmssp_negotiate() 801 ses->ntlmssp = NULL; in sess_auth_rawntlmssp_negotiate() 906 kfree_sensitive(ses->ntlmssp); in sess_auth_rawntlmssp_authenticate() 907 ses->ntlmssp = NULL; in sess_auth_rawntlmssp_authenticate()
|
| H A D | smb2pdu.c | 34 #include "ntlmssp.h" 1815 bool use_spnego = false; /* else use raw ntlmssp */ in SMB2_sess_auth_rawntlmssp_negotiate() 1823 ses->ntlmssp = kmalloc_obj(struct ntlmssp_auth); in SMB2_sess_auth_rawntlmssp_negotiate() 1824 if (!ses->ntlmssp) { in SMB2_sess_auth_rawntlmssp_negotiate() 1828 ses->ntlmssp->sesskey_per_smbsess = true; in SMB2_sess_auth_rawntlmssp_negotiate() 1892 kfree_sensitive(ses->ntlmssp); in SMB2_sess_auth_rawntlmssp_negotiate() 1893 ses->ntlmssp = NULL; in SMB2_sess_auth_rawntlmssp_negotiate() 1907 bool use_spnego = false; /* else use raw ntlmssp */ in SMB2_sess_auth_rawntlmssp_authenticate() 1969 kfree_sensitive(ses->ntlmssp); in SMB2_sess_auth_rawntlmssp_authenticate() 1970 ses->ntlmssp in SMB2_sess_auth_rawntlmssp_authenticate() [all...] |
| H A D | cifsglob.h | 233 __u32 server_flags; /* sent by server in type 2 ntlmssp exchange */ 235 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlmssp */ 1082 struct ntlmssp_auth *ntlmssp; /* ciphertext, flags, server challenge */ 1940 #define CIFSSEC_MAY_NTLMSSP 0x00080 /* raw ntlmssp with ntlmv2 */ 1954 #define CIFSSEC_MUST_NTLMSSP 0x80080 /* raw ntlmssp with ntlmv2 */ 1085 struct ntlmssp_auth *ntlmssp; /* ciphertext, flags, server challenge */ global() member
|
| /linux/fs/smb/server/ |
| H A D | auth.c | 240 domain_name, conn->ntlmssp.cryptkey, sess_key); in ksmbd_decode_ntlmssp_auth_blob() 246 if (conn->ntlmssp.client_flags & NTLMSSP_NEGOTIATE_KEY_XCH) { in ksmbd_decode_ntlmssp_auth_blob() 295 conn->ntlmssp.client_flags = le32_to_cpu(negblob->NegotiateFlags); in ksmbd_decode_ntlmssp_neg_blob() 315 int cflags = conn->ntlmssp.client_flags; in ksmbd_build_ntlmssp_challenge_blob() 369 get_random_bytes(conn->ntlmssp.cryptkey, sizeof(__u64)); in ksmbd_build_ntlmssp_challenge_blob() 370 memcpy(chgblob->Challenge, conn->ntlmssp.cryptkey, in ksmbd_build_ntlmssp_challenge_blob()
|
| H A D | connection.h | 108 struct ntlmssp_auth ntlmssp; member
|