Lines Matching refs:auth_key
280 ses->auth_key.len = size + 2 * dlen; in build_avpair_blob()
281 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in build_avpair_blob()
282 if (!ses->auth_key.response) { in build_avpair_blob()
283 ses->auth_key.len = 0; in build_avpair_blob()
287 blobptr = ses->auth_key.response; in build_avpair_blob()
322 if (!ses->auth_key.len || !ses->auth_key.response) in find_domain_name()
325 blobptr = ses->auth_key.response; in find_domain_name()
326 blobend = blobptr + ses->auth_key.len; in find_domain_name()
375 if (!ses->auth_key.len || !ses->auth_key.response) in find_timestamp()
378 blobptr = ses->auth_key.response; in find_timestamp()
379 blobend = blobptr + ses->auth_key.len; in find_timestamp()
511 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in CalcNTLMv2_response()
515 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response()
603 tilen = ses->auth_key.len; in setup_ntlmv2_rsp()
604 tiblob = ses->auth_key.response; in setup_ntlmv2_rsp()
606 ses->auth_key.response = kmalloc(baselen + tilen, GFP_KERNEL); in setup_ntlmv2_rsp()
607 if (!ses->auth_key.response) { in setup_ntlmv2_rsp()
609 ses->auth_key.len = 0; in setup_ntlmv2_rsp()
612 ses->auth_key.len += baselen; in setup_ntlmv2_rsp()
615 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in setup_ntlmv2_rsp()
623 memcpy(ses->auth_key.response + baselen, tiblob, tilen); in setup_ntlmv2_rsp()
672 ses->auth_key.response); in setup_ntlmv2_rsp()
701 cifs_arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey()
706 memcpy(ses->auth_key.response, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
708 ses->auth_key.len = CIFS_SESS_KEY_SIZE; in calc_seckey()