Searched refs:ntlmssp (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/fs/cifs/ |
D | sess.c | 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() [all …]
|
D | cifsencrypt.c | 541 ses->ntlmssp->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response() 702 cifs_arc4_crypt(ctx_arc4, ses->ntlmssp->ciphertext, sec_key, in calc_seckey()
|
D | smb2pdu.c | 1525 ses->ntlmssp = kmalloc(sizeof(struct ntlmssp_auth), GFP_KERNEL); in SMB2_sess_auth_rawntlmssp_negotiate() 1526 if (!ses->ntlmssp) { in SMB2_sess_auth_rawntlmssp_negotiate() 1530 ses->ntlmssp->sesskey_per_smbsess = true; in SMB2_sess_auth_rawntlmssp_negotiate() 1595 kfree_sensitive(ses->ntlmssp); in SMB2_sess_auth_rawntlmssp_negotiate() 1596 ses->ntlmssp = NULL; in SMB2_sess_auth_rawntlmssp_negotiate() 1673 kfree_sensitive(ses->ntlmssp); in SMB2_sess_auth_rawntlmssp_authenticate() 1674 ses->ntlmssp = NULL; in SMB2_sess_auth_rawntlmssp_authenticate()
|
D | cifsglob.h | 1045 struct ntlmssp_auth *ntlmssp; /* ciphertext, flags, server challenge */ member
|
/linux-6.1.9/fs/ksmbd/ |
D | auth.c | 341 domain_name, conn->ntlmssp.cryptkey); in ksmbd_decode_ntlmssp_auth_blob() 345 if (conn->ntlmssp.client_flags & NTLMSSP_NEGOTIATE_KEY_XCH) { in ksmbd_decode_ntlmssp_auth_blob() 392 conn->ntlmssp.client_flags = le32_to_cpu(negblob->NegotiateFlags); in ksmbd_decode_ntlmssp_neg_blob() 413 int cflags = conn->ntlmssp.client_flags; in ksmbd_build_ntlmssp_challenge_blob() 467 get_random_bytes(conn->ntlmssp.cryptkey, sizeof(__u64)); in ksmbd_build_ntlmssp_challenge_blob() 468 memcpy(chgblob->Challenge, conn->ntlmssp.cryptkey, in ksmbd_build_ntlmssp_challenge_blob()
|
D | connection.h | 71 struct ntlmssp_auth ntlmssp; member
|