Home
last modified time | relevance | path

Searched refs:CIFS_SESS_KEY_SIZE (Results 1 – 3 of 3) sorted by relevance

/fs/cifs/
Dcifsencrypt.c210 unsigned int temp_len = CIFS_SESS_KEY_SIZE + CIFS_AUTH_RESP_SIZE; in setup_ntlm_response()
211 char temp_key[CIFS_SESS_KEY_SIZE]; in setup_ntlm_response()
224 ses->auth_key.response + CIFS_SESS_KEY_SIZE, nls_cp); in setup_ntlm_response()
237 rc = mdfour(ses->auth_key.response, temp_key, CIFS_SESS_KEY_SIZE); in setup_ntlm_response()
258 memset(lnm_session_key, 0, CIFS_SESS_KEY_SIZE); in calc_lanman_hash()
501 unsigned int offset = CIFS_SESS_KEY_SIZE + 8; in CalcNTLMv2_response()
535 ses->auth_key.response + CIFS_SESS_KEY_SIZE); in CalcNTLMv2_response()
569 baselen = CIFS_SESS_KEY_SIZE + sizeof(struct ntlmv2_resp); in setup_ntlmv2_rsp()
583 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in setup_ntlmv2_rsp()
621 ses->auth_key.response + CIFS_SESS_KEY_SIZE, in setup_ntlmv2_rsp()
[all …]
Dsess.c492 memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in build_ntlmssp_auth_blob()
493 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
494 tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in build_ntlmssp_auth_blob()
497 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
499 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
696 memcpy(bcc_ptr, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in CIFS_SessSetup()
699 memcpy(bcc_ptr, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in CIFS_SessSetup()
724 memcpy(bcc_ptr, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in CIFS_SessSetup()
725 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in CIFS_SessSetup()
726 bcc_ptr += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in CIFS_SessSetup()
[all …]
Dcifspdu.h143 #define CIFS_SESS_KEY_SIZE (16) macro