Searched refs:CIFS_SESS_KEY_SIZE (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.10/fs/cifs/ |
| D | cifsencrypt.c | 269 unsigned int temp_len = CIFS_SESS_KEY_SIZE + CIFS_AUTH_RESP_SIZE; in setup_ntlm_response() 270 char temp_key[CIFS_SESS_KEY_SIZE]; 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() 605 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in CalcNTLMv2_response() 609 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response() 691 baselen = CIFS_SESS_KEY_SIZE + sizeof(struct ntlmv2_resp); in setup_ntlmv2_rsp() 704 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in setup_ntlmv2_rsp() 776 unsigned char sec_key[CIFS_SESS_KEY_SIZE]; /* a nonce */ in calc_seckey() 782 get_random_bytes(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey() [all …]
|
| D | sess.c | 648 - CIFS_SESS_KEY_SIZE + CIFS_CPHTXT_SIZE + 2; in size_of_ntlmssp_blob() 712 memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in build_ntlmssp_auth_blob() 713 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 714 tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in build_ntlmssp_auth_blob() 717 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 719 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 1105 memcpy(bcc_ptr, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in sess_auth_ntlm() 1108 memcpy(bcc_ptr, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in sess_auth_ntlm() 1212 memcpy(bcc_ptr, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in sess_auth_ntlmv2() 1213 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in sess_auth_ntlmv2() [all …]
|
| D | cifspdu.h | 143 #define CIFS_SESS_KEY_SIZE (16) macro
|