Searched refs:ntlmssp (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | sess.c | 590 memcpy(ses->ntlmssp->cryptkey, pblob->Challenge, CIFS_CRYPTO_KEY_SIZE); in decode_ntlmssp_challenge() 595 ses->ntlmssp->server_flags = le32_to_cpu(pblob->NegotiateFlags); in decode_ntlmssp_challenge() 638 if (!server->session_estab || ses->ntlmssp->sesskey_per_smbsess) in build_ntlmssp_negotiate_blob() 706 if (!ses->server->session_estab || ses->ntlmssp->sesskey_per_smbsess) in build_ntlmssp_auth_blob() 773 if (((ses->ntlmssp->server_flags & NTLMSSP_NEGOTIATE_KEY_XCH) || in build_ntlmssp_auth_blob() 774 (ses->ntlmssp->server_flags & NTLMSSP_NEGOTIATE_EXTENDED_SEC)) in build_ntlmssp_auth_blob() 776 memcpy(tmp, ses->ntlmssp->ciphertext, CIFS_CPHTXT_SIZE); in build_ntlmssp_auth_blob() 1492 ses->ntlmssp = kmalloc(sizeof(struct ntlmssp_auth), GFP_KERNEL); in sess_auth_rawntlmssp_negotiate() 1493 if (!ses->ntlmssp) { in sess_auth_rawntlmssp_negotiate() 1497 ses->ntlmssp->sesskey_per_smbsess = false; in sess_auth_rawntlmssp_negotiate() [all …]
|
| H A D | cifsencrypt.c | 633 ses->ntlmssp->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response() 791 arc4_crypt(ctx_arc4, ses->ntlmssp->ciphertext, sec_key, in calc_seckey()
|
| H A D | smb2pdu.c | 1411 ses->ntlmssp = kmalloc(sizeof(struct ntlmssp_auth), GFP_KERNEL); in SMB2_sess_auth_rawntlmssp_negotiate() 1412 if (!ses->ntlmssp) { in SMB2_sess_auth_rawntlmssp_negotiate() 1416 ses->ntlmssp->sesskey_per_smbsess = true; in SMB2_sess_auth_rawntlmssp_negotiate() 1482 kfree(ses->ntlmssp); in SMB2_sess_auth_rawntlmssp_negotiate() 1483 ses->ntlmssp = NULL; in SMB2_sess_auth_rawntlmssp_negotiate() 1553 kfree(ses->ntlmssp); in SMB2_sess_auth_rawntlmssp_authenticate() 1554 ses->ntlmssp = NULL; in SMB2_sess_auth_rawntlmssp_authenticate()
|
| H A D | cifsglob.h | 997 struct ntlmssp_auth *ntlmssp; /* ciphertext, flags, server challenge */ member
|