Searched refs:userlen (Results 1 – 3 of 3) sorted by relevance
/curl/lib/vauth/ |
H A D | ntlm.c | 498 size_t userlen = 0; in Curl_auth_create_ntlm_type3_message() local 515 userlen = strlen(user); in Curl_auth_create_ntlm_type3_message() 535 result = Curl_ntlm_core_mk_ntlmv2_hash(user, userlen, domain, domlen, in Curl_auth_create_ntlm_type3_message() 581 userlen = userlen * 2; in Curl_auth_create_ntlm_type3_message() 589 hostoff = useroff + userlen; in Curl_auth_create_ntlm_type3_message() 652 SHORTPAIR(userlen), in Curl_auth_create_ntlm_type3_message() 653 SHORTPAIR(userlen), in Curl_auth_create_ntlm_type3_message() 708 if(size + userlen + domlen + hostlen >= NTLM_BUFSIZE) { in Curl_auth_create_ntlm_type3_message() 723 unicodecpy(&ntlmbuf[size], user, userlen / 2); in Curl_auth_create_ntlm_type3_message() 725 memcpy(&ntlmbuf[size], user, userlen); in Curl_auth_create_ntlm_type3_message() [all …]
|
/curl/lib/ |
H A D | curl_ntlm_core.h | 52 CURLcode Curl_ntlm_core_mk_ntlmv2_hash(const char *user, size_t userlen,
|
H A D | curl_ntlm_core.c | 509 CURLcode Curl_ntlm_core_mk_ntlmv2_hash(const char *user, size_t userlen, in Curl_ntlm_core_mk_ntlmv2_hash() argument 519 if((userlen > CURL_MAX_INPUT_LENGTH) || (domlen > CURL_MAX_INPUT_LENGTH)) in Curl_ntlm_core_mk_ntlmv2_hash() 522 identity_len = (userlen + domlen) * 2; in Curl_ntlm_core_mk_ntlmv2_hash() 528 ascii_uppercase_to_unicode_le(identity, user, userlen); in Curl_ntlm_core_mk_ntlmv2_hash() 529 ascii_to_unicode_le(identity + (userlen << 1), domain, domlen); in Curl_ntlm_core_mk_ntlmv2_hash()
|
Completed in 7 milliseconds