Lines Matching refs:auth_key

409 	kfree_sensitive(ses->auth_key.response);  in build_avpair_blob()
410 ses->auth_key.len = size + 2 * dlen; in build_avpair_blob()
411 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in build_avpair_blob()
412 if (!ses->auth_key.response) { in build_avpair_blob()
413 ses->auth_key.len = 0; in build_avpair_blob()
417 blobptr = ses->auth_key.response; in build_avpair_blob()
452 if (!ses->auth_key.len || !ses->auth_key.response) in find_domain_name()
455 blobptr = ses->auth_key.response; in find_domain_name()
456 blobend = blobptr + ses->auth_key.len; in find_domain_name()
505 if (!ses->auth_key.len || !ses->auth_key.response) in find_timestamp()
508 blobptr = ses->auth_key.response; in find_timestamp()
509 blobend = blobptr + ses->auth_key.len; in find_timestamp()
641 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in CalcNTLMv2_response()
645 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response()
733 tilen = ses->auth_key.len; in setup_ntlmv2_rsp()
734 tiblob = ses->auth_key.response; in setup_ntlmv2_rsp()
736 ses->auth_key.response = kmalloc(baselen + tilen, GFP_KERNEL); in setup_ntlmv2_rsp()
737 if (!ses->auth_key.response) { in setup_ntlmv2_rsp()
739 ses->auth_key.len = 0; in setup_ntlmv2_rsp()
742 ses->auth_key.len += baselen; in setup_ntlmv2_rsp()
745 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in setup_ntlmv2_rsp()
753 memcpy(ses->auth_key.response + baselen, tiblob, tilen); in setup_ntlmv2_rsp()
800 ses->auth_key.response); in setup_ntlmv2_rsp()
829 cifs_arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey()
834 memcpy(ses->auth_key.response, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
836 ses->auth_key.len = CIFS_SESS_KEY_SIZE; in calc_seckey()