Lines Matching refs:ntlmssp

781 		 ses->ntlmssp->client_flags, server_flags);  in decode_ntlmssp_challenge()
783 if ((ses->ntlmssp->client_flags & (NTLMSSP_NEGOTIATE_SEAL | NTLMSSP_NEGOTIATE_SIGN)) && in decode_ntlmssp_challenge()
798 if ((ses->ntlmssp->client_flags & NTLMSSP_NEGOTIATE_KEY_XCH) && in decode_ntlmssp_challenge()
803 ses->ntlmssp->server_flags = server_flags; in decode_ntlmssp_challenge()
805 memcpy(ses->ntlmssp->cryptkey, pblob->Challenge, CIFS_CRYPTO_KEY_SIZE); in decode_ntlmssp_challenge()
923 if (!server->session_estab || ses->ntlmssp->sesskey_per_smbsess) in build_ntlmssp_negotiate_blob()
927 ses->ntlmssp->client_flags = flags; in build_ntlmssp_negotiate_blob()
985 if (!server->session_estab || ses->ntlmssp->sesskey_per_smbsess) in build_ntlmssp_smb3_negotiate_blob()
994 ses->ntlmssp->client_flags = flags; in build_ntlmssp_smb3_negotiate_blob()
1048 flags = ses->ntlmssp->server_flags | NTLMSSP_REQUEST_TARGET | in build_ntlmssp_auth_blob()
1096 if ((ses->ntlmssp->server_flags & NTLMSSP_NEGOTIATE_KEY_XCH) && in build_ntlmssp_auth_blob()
1097 (!ses->server->session_estab || ses->ntlmssp->sesskey_per_smbsess) && in build_ntlmssp_auth_blob()
1099 memcpy(tmp, ses->ntlmssp->ciphertext, CIFS_CPHTXT_SIZE); in build_ntlmssp_auth_blob()
1589 ses->ntlmssp = kmalloc(sizeof(struct ntlmssp_auth), GFP_KERNEL); in sess_auth_rawntlmssp_negotiate()
1590 if (!ses->ntlmssp) { in sess_auth_rawntlmssp_negotiate()
1594 ses->ntlmssp->sesskey_per_smbsess = false; in sess_auth_rawntlmssp_negotiate()
1669 kfree_sensitive(ses->ntlmssp); in sess_auth_rawntlmssp_negotiate()
1670 ses->ntlmssp = NULL; in sess_auth_rawntlmssp_negotiate()
1778 kfree_sensitive(ses->ntlmssp); in sess_auth_rawntlmssp_authenticate()
1779 ses->ntlmssp = NULL; in sess_auth_rawntlmssp_authenticate()