Lines Matching refs:chlg
181 static bool auth_digest_get_key_value(const char *chlg, in auth_digest_get_key_value() argument
190 find_pos = strstr(chlg, key); in auth_digest_get_key_value()
262 unsigned char *chlg = NULL; in auth_decode_digest_md5_message() local
268 result = Curl_base64_decode(chlg64, &chlg, &chlglen); in auth_decode_digest_md5_message()
274 if(!chlg) in auth_decode_digest_md5_message()
278 if(!auth_digest_get_key_value((char *) chlg, "nonce=\"", nonce, nlen, in auth_decode_digest_md5_message()
280 free(chlg); in auth_decode_digest_md5_message()
285 if(!auth_digest_get_key_value((char *) chlg, "realm=\"", realm, rlen, in auth_decode_digest_md5_message()
292 if(!auth_digest_get_key_value((char *) chlg, "algorithm=", alg, alen, ',')) { in auth_decode_digest_md5_message()
293 free(chlg); in auth_decode_digest_md5_message()
298 if(!auth_digest_get_key_value((char *) chlg, "qop=\"", qop, qlen, '\"')) { in auth_decode_digest_md5_message()
299 free(chlg); in auth_decode_digest_md5_message()
303 free(chlg); in auth_decode_digest_md5_message()
501 CURLcode Curl_auth_decode_digest_http_message(const char *chlg, in Curl_auth_decode_digest_http_message() argument
522 while(*chlg && ISSPACE(*chlg)) in Curl_auth_decode_digest_http_message()
523 chlg++; in Curl_auth_decode_digest_http_message()
526 if(Curl_auth_digest_get_pair(chlg, value, content, &chlg)) { in Curl_auth_decode_digest_http_message()
607 while(*chlg && ISSPACE(*chlg)) in Curl_auth_decode_digest_http_message()
608 chlg++; in Curl_auth_decode_digest_http_message()
611 if(',' == *chlg) in Curl_auth_decode_digest_http_message()
612 chlg++; in Curl_auth_decode_digest_http_message()