Lines Matching refs:CIFS_SESS_KEY_SIZE
268 unsigned int temp_len = CIFS_SESS_KEY_SIZE + CIFS_AUTH_RESP_SIZE; in setup_ntlm_response()
269 char temp_key[CIFS_SESS_KEY_SIZE]; in setup_ntlm_response()
281 ses->auth_key.response + CIFS_SESS_KEY_SIZE, nls_cp); in setup_ntlm_response()
295 rc = mdfour(ses->auth_key.response, temp_key, CIFS_SESS_KEY_SIZE); in setup_ntlm_response()
599 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in CalcNTLMv2_response()
603 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response()
685 baselen = CIFS_SESS_KEY_SIZE + sizeof(struct ntlmv2_resp); in setup_ntlmv2_rsp()
698 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in setup_ntlmv2_rsp()
776 sec_key = kmalloc(CIFS_SESS_KEY_SIZE, GFP_KERNEL); in calc_seckey()
780 get_random_bytes(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
790 CIFS_SESS_KEY_SIZE); in calc_seckey()
804 sg_init_one(&sgin, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
818 memcpy(ses->auth_key.response, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
820 ses->auth_key.len = CIFS_SESS_KEY_SIZE; in calc_seckey()