Searched refs:ntlmssp (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/fs/smb/client/ |
D | sess.c | 795 ses->ntlmssp->client_flags, server_flags); in decode_ntlmssp_challenge() 797 if ((ses->ntlmssp->client_flags & (NTLMSSP_NEGOTIATE_SEAL | NTLMSSP_NEGOTIATE_SIGN)) && in decode_ntlmssp_challenge() 812 if ((ses->ntlmssp->client_flags & NTLMSSP_NEGOTIATE_KEY_XCH) && in decode_ntlmssp_challenge() 817 ses->ntlmssp->server_flags = server_flags; in decode_ntlmssp_challenge() 819 memcpy(ses->ntlmssp->cryptkey, pblob->Challenge, CIFS_CRYPTO_KEY_SIZE); in decode_ntlmssp_challenge() 937 if (!server->session_estab || ses->ntlmssp->sesskey_per_smbsess) in build_ntlmssp_negotiate_blob() 941 ses->ntlmssp->client_flags = flags; in build_ntlmssp_negotiate_blob() 999 if (!server->session_estab || ses->ntlmssp->sesskey_per_smbsess) in build_ntlmssp_smb3_negotiate_blob() 1008 ses->ntlmssp->client_flags = flags; in build_ntlmssp_smb3_negotiate_blob() 1063 flags = ses->ntlmssp->server_flags | NTLMSSP_REQUEST_TARGET | in build_ntlmssp_auth_blob() [all …]
|
D | cifsencrypt.c | 669 ses->ntlmssp->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response() 830 cifs_arc4_crypt(ctx_arc4, ses->ntlmssp->ciphertext, sec_key, in calc_seckey()
|
D | smb2pdu.c | 1540 ses->ntlmssp = kmalloc(sizeof(struct ntlmssp_auth), GFP_KERNEL); in SMB2_sess_auth_rawntlmssp_negotiate() 1541 if (!ses->ntlmssp) { in SMB2_sess_auth_rawntlmssp_negotiate() 1545 ses->ntlmssp->sesskey_per_smbsess = true; in SMB2_sess_auth_rawntlmssp_negotiate() 1610 kfree_sensitive(ses->ntlmssp); in SMB2_sess_auth_rawntlmssp_negotiate() 1611 ses->ntlmssp = NULL; in SMB2_sess_auth_rawntlmssp_negotiate() 1688 kfree_sensitive(ses->ntlmssp); in SMB2_sess_auth_rawntlmssp_authenticate() 1689 ses->ntlmssp = NULL; in SMB2_sess_auth_rawntlmssp_authenticate()
|
D | cifsglob.h | 1024 struct ntlmssp_auth *ntlmssp; /* ciphertext, flags, server challenge */ member
|
/Linux-v6.6/fs/smb/server/ |
D | auth.c | 344 domain_name, conn->ntlmssp.cryptkey); in ksmbd_decode_ntlmssp_auth_blob() 348 if (conn->ntlmssp.client_flags & NTLMSSP_NEGOTIATE_KEY_XCH) { in ksmbd_decode_ntlmssp_auth_blob() 398 conn->ntlmssp.client_flags = le32_to_cpu(negblob->NegotiateFlags); in ksmbd_decode_ntlmssp_neg_blob() 419 int cflags = conn->ntlmssp.client_flags; in ksmbd_build_ntlmssp_challenge_blob() 473 get_random_bytes(conn->ntlmssp.cryptkey, sizeof(__u64)); in ksmbd_build_ntlmssp_challenge_blob() 474 memcpy(chgblob->Challenge, conn->ntlmssp.cryptkey, in ksmbd_build_ntlmssp_challenge_blob()
|
D | connection.h | 73 struct ntlmssp_auth ntlmssp; member
|