Searched refs:auth_key (Results 1 – 9 of 9) sorted by relevance
/fs/cifs/ |
D | cifsencrypt.c | 280 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 …]
|
D | sess.c | 618 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 …]
|
D | ioctl.c | 290 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()
|
D | cifs_ioctl.h | 59 __u8 auth_key[16]; /* SMB2_NTLMV2_SESSKEY_SIZE */ member
|
D | smb2transport.c | 245 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()
|
D | connect.c | 3828 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()
|
D | smb2pdu.c | 1421 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()
|
D | misc.c | 98 kfree_sensitive(buf_to_free->auth_key.response); in sesInfoFree()
|
D | cifsglob.h | 928 struct session_key auth_key; member
|