Lines Matching refs:chlg
207 static bool sasl_digest_get_key_value(const char *chlg, in sasl_digest_get_key_value() argument
216 find_pos = strstr(chlg, key); in sasl_digest_get_key_value()
445 const char *chlg, in sasl_create_cram_md5_message() argument
456 if(chlg) in sasl_create_cram_md5_message()
457 chlglen = strlen(chlg); in sasl_create_cram_md5_message()
468 Curl_HMAC_update(ctxt, (const unsigned char *) chlg, in sasl_create_cram_md5_message()
519 unsigned char *chlg = NULL; in sasl_decode_digest_md5_message() local
525 result = Curl_base64_decode(chlg64, &chlg, &chlglen); in sasl_decode_digest_md5_message()
531 if(!chlg) in sasl_decode_digest_md5_message()
535 if(!sasl_digest_get_key_value((char *)chlg, "nonce=\"", nonce, nlen, '\"')) { in sasl_decode_digest_md5_message()
536 free(chlg); in sasl_decode_digest_md5_message()
541 if(!sasl_digest_get_key_value((char *)chlg, "realm=\"", realm, rlen, '\"')) { in sasl_decode_digest_md5_message()
547 if(!sasl_digest_get_key_value((char *)chlg, "algorithm=", alg, alen, ',')) { in sasl_decode_digest_md5_message()
548 free(chlg); in sasl_decode_digest_md5_message()
553 if(!sasl_digest_get_key_value((char *)chlg, "qop=\"", qop, qlen, '\"')) { in sasl_decode_digest_md5_message()
554 free(chlg); in sasl_decode_digest_md5_message()
558 free(chlg); in sasl_decode_digest_md5_message()
756 CURLcode Curl_sasl_decode_digest_http_message(const char *chlg, in Curl_sasl_decode_digest_http_message() argument
777 while(*chlg && ISSPACE(*chlg)) in Curl_sasl_decode_digest_http_message()
778 chlg++; in Curl_sasl_decode_digest_http_message()
781 if(!Curl_sasl_digest_get_pair(chlg, value, content, &chlg)) { in Curl_sasl_decode_digest_http_message()
856 while(*chlg && ISSPACE(*chlg)) in Curl_sasl_decode_digest_http_message()
857 chlg++; in Curl_sasl_decode_digest_http_message()
860 if(',' == *chlg) in Curl_sasl_decode_digest_http_message()
861 chlg++; in Curl_sasl_decode_digest_http_message()
1511 char *chlg = NULL; in Curl_sasl_continue() local
1554 result = sasl_decode_cram_md5_message(serverdata, &chlg, &chlglen); in Curl_sasl_continue()
1556 result = sasl_create_cram_md5_message(data, chlg, conn->user, in Curl_sasl_continue()
1558 free(chlg); in Curl_sasl_continue()