Lines Matching refs:auth_key

274 	ses->auth_key.response = kmalloc(temp_len, GFP_KERNEL);  in setup_ntlm_response()
275 if (!ses->auth_key.response) in setup_ntlm_response()
278 ses->auth_key.len = temp_len; 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()
368 ses->auth_key.len = size + 2 * dlen; in build_avpair_blob()
369 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in build_avpair_blob()
370 if (!ses->auth_key.response) { in build_avpair_blob()
371 ses->auth_key.len = 0; in build_avpair_blob()
375 blobptr = ses->auth_key.response; in build_avpair_blob()
410 if (!ses->auth_key.len || !ses->auth_key.response) in find_domain_name()
413 blobptr = ses->auth_key.response; in find_domain_name()
414 blobend = blobptr + ses->auth_key.len; in find_domain_name()
463 if (!ses->auth_key.len || !ses->auth_key.response) in find_timestamp()
466 blobptr = ses->auth_key.response; in find_timestamp()
467 blobend = blobptr + ses->auth_key.len; in find_timestamp()
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()
686 tilen = ses->auth_key.len; in setup_ntlmv2_rsp()
687 tiblob = ses->auth_key.response; in setup_ntlmv2_rsp()
689 ses->auth_key.response = kmalloc(baselen + tilen, GFP_KERNEL); in setup_ntlmv2_rsp()
690 if (!ses->auth_key.response) { in setup_ntlmv2_rsp()
692 ses->auth_key.len = 0; in setup_ntlmv2_rsp()
695 ses->auth_key.len += baselen; in setup_ntlmv2_rsp()
698 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in setup_ntlmv2_rsp()
706 memcpy(ses->auth_key.response + baselen, tiblob, tilen); in setup_ntlmv2_rsp()
755 ses->auth_key.response); in setup_ntlmv2_rsp()
789 rc = crypto_skcipher_setkey(tfm_arc4, ses->auth_key.response, 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()