Home
last modified time | relevance | path

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

/fs/cifs/
Dcifsencrypt.c280 ses->auth_key.len = size + 2 * dlen; in build_avpair_blob()
281 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in build_avpair_blob()
282 if (!ses->auth_key.response) { in build_avpair_blob()
283 ses->auth_key.len = 0; in build_avpair_blob()
287 blobptr = ses->auth_key.response; in build_avpair_blob()
322 if (!ses->auth_key.len || !ses->auth_key.response) in find_domain_name()
325 blobptr = ses->auth_key.response; in find_domain_name()
326 blobend = blobptr + ses->auth_key.len; in find_domain_name()
375 if (!ses->auth_key.len || !ses->auth_key.response) in find_timestamp()
378 blobptr = ses->auth_key.response; in find_timestamp()
[all …]
Dsess.c618 ses->auth_key.response = kmemdup(bcc_ptr + tioffset, tilen, in decode_ntlmssp_challenge()
620 if (!ses->auth_key.response) { in decode_ntlmssp_challenge()
624 ses->auth_key.len = tilen; in decode_ntlmssp_challenge()
669 int sz = sizeof(AUTHENTICATE_MESSAGE) + ses->auth_key.len in size_of_ntlmssp_blob()
734 memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in build_ntlmssp_auth_blob()
735 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
736 tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in build_ntlmssp_auth_blob()
739 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
741 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
918 kmemdup(ses->auth_key.response, in sess_establish_session()
[all …]
Dioctl.c290 if (copy_to_user(end, ses->auth_key.response, out.session_key_length)) { in cifs_dump_full_key()
445 memcpy(pkey_inf.auth_key, tcon->ses->auth_key.response, in cifs_ioctl()
Dcifs_ioctl.h59 __u8 auth_key[16]; /* SMB2_NTLMV2_SESSKEY_SIZE */ member
Dsmb2transport.c245 rc = crypto_shash_setkey(hash, ses->auth_key.response, in smb2_calc_signature()
315 ses->auth_key.response, SMB2_NTLMV2_SESSKEY_SIZE); in generate_key()
453 SMB2_NTLMV2_SESSKEY_SIZE, ses->auth_key.response); in generate_smb3signingkey()
Dconnect.c3828 if (ses->auth_key.response) { in cifs_setup_session()
3830 ses->auth_key.response); in cifs_setup_session()
3831 kfree(ses->auth_key.response); in cifs_setup_session()
3832 ses->auth_key.response = NULL; in cifs_setup_session()
3833 ses->auth_key.len = 0; in cifs_setup_session()
Dsmb2pdu.c1421 ses->auth_key.response = kmemdup(msg->data, msg->sesskey_len, in SMB2_auth_kerberos()
1423 if (!ses->auth_key.response) { in SMB2_auth_kerberos()
1429 ses->auth_key.len = msg->sesskey_len; in SMB2_auth_kerberos()
1616 SMB2_NTLMV2_SESSKEY_SIZE, ses->auth_key.response); in SMB2_sess_auth_rawntlmssp_authenticate()
1618 SMB3_SIGN_KEY_SIZE, ses->auth_key.response); in SMB2_sess_auth_rawntlmssp_authenticate()
Dmisc.c98 kfree_sensitive(buf_to_free->auth_key.response); in sesInfoFree()
Dcifsglob.h928 struct session_key auth_key; member