• Home
  • Raw
  • Download

Lines Matching refs:auth_key

275 	ses->auth_key.response = kmalloc(temp_len, GFP_KERNEL);  in setup_ntlm_response()
276 if (!ses->auth_key.response) in setup_ntlm_response()
279 ses->auth_key.len = temp_len; 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()
374 ses->auth_key.len = size + 2 * dlen; in build_avpair_blob()
375 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in build_avpair_blob()
376 if (!ses->auth_key.response) { in build_avpair_blob()
377 ses->auth_key.len = 0; in build_avpair_blob()
381 blobptr = ses->auth_key.response; in build_avpair_blob()
416 if (!ses->auth_key.len || !ses->auth_key.response) in find_domain_name()
419 blobptr = ses->auth_key.response; in find_domain_name()
420 blobend = blobptr + ses->auth_key.len; in find_domain_name()
469 if (!ses->auth_key.len || !ses->auth_key.response) in find_timestamp()
472 blobptr = ses->auth_key.response; in find_timestamp()
473 blobend = blobptr + ses->auth_key.len; in find_timestamp()
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()
692 tilen = ses->auth_key.len; in setup_ntlmv2_rsp()
693 tiblob = ses->auth_key.response; in setup_ntlmv2_rsp()
695 ses->auth_key.response = kmalloc(baselen + tilen, GFP_KERNEL); in setup_ntlmv2_rsp()
696 if (!ses->auth_key.response) { in setup_ntlmv2_rsp()
698 ses->auth_key.len = 0; in setup_ntlmv2_rsp()
701 ses->auth_key.len += baselen; in setup_ntlmv2_rsp()
704 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in setup_ntlmv2_rsp()
712 memcpy(ses->auth_key.response + baselen, tiblob, tilen); in setup_ntlmv2_rsp()
761 ses->auth_key.response); in setup_ntlmv2_rsp()
790 arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey()
795 memcpy(ses->auth_key.response, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
797 ses->auth_key.len = CIFS_SESS_KEY_SIZE; in calc_seckey()