Searched refs:ntlmssp (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/fs/cifs/ |
D | sess.c | 304 memcpy(ses->ntlmssp->cryptkey, pblob->Challenge, CIFS_CRYPTO_KEY_SIZE); in decode_ntlmssp_challenge() 309 ses->ntlmssp->server_flags = le32_to_cpu(pblob->NegotiateFlags); in decode_ntlmssp_challenge() 351 if (!ses->server->session_estab || ses->ntlmssp->sesskey_per_smbsess) in build_ntlmssp_negotiate_blob() 419 if (!ses->server->session_estab || ses->ntlmssp->sesskey_per_smbsess) in build_ntlmssp_auth_blob() 486 if (((ses->ntlmssp->server_flags & NTLMSSP_NEGOTIATE_KEY_XCH) || in build_ntlmssp_auth_blob() 487 (ses->ntlmssp->server_flags & NTLMSSP_NEGOTIATE_EXTENDED_SEC)) in build_ntlmssp_auth_blob() 489 memcpy(tmp, ses->ntlmssp->ciphertext, CIFS_CPHTXT_SIZE); in build_ntlmssp_auth_blob() 1210 ses->ntlmssp = kmalloc(sizeof(struct ntlmssp_auth), GFP_KERNEL); in sess_auth_rawntlmssp_negotiate() 1211 if (!ses->ntlmssp) { in sess_auth_rawntlmssp_negotiate() 1215 ses->ntlmssp->sesskey_per_smbsess = false; in sess_auth_rawntlmssp_negotiate() [all …]
|
D | cifsencrypt.c | 627 ses->ntlmssp->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response() 805 sg_init_one(&sgout, ses->ntlmssp->ciphertext, CIFS_CPHTXT_SIZE); in calc_seckey()
|
D | smb2pdu.c | 1175 ses->ntlmssp = kmalloc(sizeof(struct ntlmssp_auth), GFP_KERNEL); in SMB2_sess_auth_rawntlmssp_negotiate() 1176 if (!ses->ntlmssp) { in SMB2_sess_auth_rawntlmssp_negotiate() 1180 ses->ntlmssp->sesskey_per_smbsess = true; in SMB2_sess_auth_rawntlmssp_negotiate() 1244 kfree(ses->ntlmssp); in SMB2_sess_auth_rawntlmssp_negotiate() 1245 ses->ntlmssp = NULL; in SMB2_sess_auth_rawntlmssp_negotiate() 1297 kfree(ses->ntlmssp); in SMB2_sess_auth_rawntlmssp_authenticate() 1298 ses->ntlmssp = NULL; in SMB2_sess_auth_rawntlmssp_authenticate()
|
D | cifsglob.h | 878 struct ntlmssp_auth *ntlmssp; /* ciphertext, flags, server challenge */ member
|