Home
last modified time | relevance | path

Searched refs:auth_key (Results 1 – 9 of 9) sorted by relevance

/fs/cifs/
Dcifsencrypt.c275 ses->auth_key.response = kmalloc(temp_len, GFP_KERNEL); in setup_ntlm_response()
276 if (!ses->auth_key.response) in setup_ntlm_response()
279 ses->auth_key.len = temp_len; in setup_ntlm_response()
282 ses->auth_key.response + CIFS_SESS_KEY_SIZE, nls_cp); in setup_ntlm_response()
296 rc = mdfour(ses->auth_key.response, temp_key, CIFS_SESS_KEY_SIZE); in setup_ntlm_response()
374 ses->auth_key.len = size + 2 * dlen; in build_avpair_blob()
375 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in build_avpair_blob()
376 if (!ses->auth_key.response) { in build_avpair_blob()
377 ses->auth_key.len = 0; in build_avpair_blob()
381 blobptr = ses->auth_key.response; in build_avpair_blob()
[all …]
Dsess.c604 ses->auth_key.response = kmemdup(bcc_ptr + tioffset, tilen, in decode_ntlmssp_challenge()
606 if (!ses->auth_key.response) { in decode_ntlmssp_challenge()
610 ses->auth_key.len = tilen; in decode_ntlmssp_challenge()
655 int sz = sizeof(AUTHENTICATE_MESSAGE) + ses->auth_key.len in size_of_ntlmssp_blob()
720 memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in build_ntlmssp_auth_blob()
721 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
722 tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in build_ntlmssp_auth_blob()
725 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
727 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
917 kmemdup(ses->auth_key.response, in sess_establish_session()
[all …]
Dioctl.c292 memcpy(pkey_inf.auth_key, tcon->ses->auth_key.response, in cifs_ioctl()
Dcifs_ioctl.h63 __u8 auth_key[16]; /* SMB2_NTLMV2_SESSKEY_SIZE */ member
Dsmb2transport.c250 rc = crypto_shash_setkey(hash, ses->auth_key.response, in smb2_calc_signature()
318 ses->auth_key.response, SMB2_NTLMV2_SESSKEY_SIZE); in generate_key()
456 SMB2_NTLMV2_SESSKEY_SIZE, ses->auth_key.response); in generate_smb3signingkey()
Dconnect.c5067 if (ses->auth_key.response) { in cifs_setup_session()
5069 ses->auth_key.response); in cifs_setup_session()
5070 kfree(ses->auth_key.response); in cifs_setup_session()
5071 ses->auth_key.response = NULL; in cifs_setup_session()
5072 ses->auth_key.len = 0; in cifs_setup_session()
Dmisc.c109 kfree_sensitive(buf_to_free->auth_key.response); in sesInfoFree()
Dsmb2pdu.c1355 ses->auth_key.response = kmemdup(msg->data, msg->sesskey_len, in SMB2_auth_kerberos()
1357 if (!ses->auth_key.response) { in SMB2_auth_kerberos()
1363 ses->auth_key.len = msg->sesskey_len; in SMB2_auth_kerberos()
1550 SMB2_NTLMV2_SESSKEY_SIZE, ses->auth_key.response); in SMB2_sess_auth_rawntlmssp_authenticate()
1552 SMB3_SIGN_KEY_SIZE, ses->auth_key.response); in SMB2_sess_auth_rawntlmssp_authenticate()
Dcifsglob.h999 struct session_key auth_key; member