Lines Matching refs:pw
360 unsigned char pw[14]; in Curl_ntlm_core_mk_lm_hash() local
368 Curl_strntoupper((char *)pw, password, len); in Curl_ntlm_core_mk_lm_hash()
369 memset(&pw[len], 0, 14 - len); in Curl_ntlm_core_mk_lm_hash()
377 setup_des_key(pw, DESKEY(ks)); in Curl_ntlm_core_mk_lm_hash()
381 setup_des_key(pw + 7, DESKEY(ks)); in Curl_ntlm_core_mk_lm_hash()
386 setup_des_key(pw, &des); in Curl_ntlm_core_mk_lm_hash()
388 setup_des_key(pw + 7, &des); in Curl_ntlm_core_mk_lm_hash()
392 encrypt_des(magic, lmbuffer, pw); in Curl_ntlm_core_mk_lm_hash()
393 encrypt_des(magic, lmbuffer + 8, pw + 7); in Curl_ntlm_core_mk_lm_hash()
434 unsigned char *pw; in Curl_ntlm_core_mk_nt_hash() local
438 pw = len ? malloc(len * 2) : (unsigned char *)strdup(""); in Curl_ntlm_core_mk_nt_hash()
439 if(!pw) in Curl_ntlm_core_mk_nt_hash()
442 ascii_to_unicode_le(pw, password, len); in Curl_ntlm_core_mk_nt_hash()
445 result = Curl_md4it(ntbuffer, pw, 2 * len); in Curl_ntlm_core_mk_nt_hash()
449 free(pw); in Curl_ntlm_core_mk_nt_hash()