Lines Matching refs:auth_key

281 	ses->auth_key.len = size + 2 * dlen;  in build_avpair_blob()
282 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in build_avpair_blob()
283 if (!ses->auth_key.response) { in build_avpair_blob()
284 ses->auth_key.len = 0; in build_avpair_blob()
288 blobptr = ses->auth_key.response; in build_avpair_blob()
323 if (!ses->auth_key.len || !ses->auth_key.response) in find_domain_name()
326 blobptr = ses->auth_key.response; in find_domain_name()
327 blobend = blobptr + ses->auth_key.len; in find_domain_name()
376 if (!ses->auth_key.len || !ses->auth_key.response) in find_timestamp()
379 blobptr = ses->auth_key.response; in find_timestamp()
380 blobend = blobptr + ses->auth_key.len; in find_timestamp()
512 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in CalcNTLMv2_response()
516 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response()
604 tilen = ses->auth_key.len; in setup_ntlmv2_rsp()
605 tiblob = ses->auth_key.response; in setup_ntlmv2_rsp()
607 ses->auth_key.response = kmalloc(baselen + tilen, GFP_KERNEL); in setup_ntlmv2_rsp()
608 if (!ses->auth_key.response) { in setup_ntlmv2_rsp()
610 ses->auth_key.len = 0; in setup_ntlmv2_rsp()
613 ses->auth_key.len += baselen; in setup_ntlmv2_rsp()
616 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in setup_ntlmv2_rsp()
624 memcpy(ses->auth_key.response + baselen, tiblob, tilen); in setup_ntlmv2_rsp()
671 ses->auth_key.response); in setup_ntlmv2_rsp()
700 cifs_arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey()
705 memcpy(ses->auth_key.response, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
707 ses->auth_key.len = CIFS_SESS_KEY_SIZE; in calc_seckey()