Lines Matching refs:ctxt
343 struct MD5_context *ctxt;
390 ctxt = Curl_MD5_init(Curl_DIGEST_MD5);
391 if(!ctxt)
394 Curl_MD5_update(ctxt, (const unsigned char *) userp,
396 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
397 Curl_MD5_update(ctxt, (const unsigned char *) realm,
399 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
400 Curl_MD5_update(ctxt, (const unsigned char *) passwdp,
402 Curl_MD5_final(ctxt, digest);
404 ctxt = Curl_MD5_init(Curl_DIGEST_MD5);
405 if(!ctxt)
408 Curl_MD5_update(ctxt, (const unsigned char *) digest, MD5_DIGEST_LEN);
409 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
410 Curl_MD5_update(ctxt, (const unsigned char *) nonce,
412 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
413 Curl_MD5_update(ctxt, (const unsigned char *) cnonce,
415 Curl_MD5_final(ctxt, digest);
427 ctxt = Curl_MD5_init(Curl_DIGEST_MD5);
428 if(!ctxt) {
434 Curl_MD5_update(ctxt, (const unsigned char *) method,
436 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
437 Curl_MD5_update(ctxt, (const unsigned char *) spn,
439 Curl_MD5_final(ctxt, digest);
445 ctxt = Curl_MD5_init(Curl_DIGEST_MD5);
446 if(!ctxt) {
452 Curl_MD5_update(ctxt, (const unsigned char *) HA1_hex, 2 * MD5_DIGEST_LEN);
453 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
454 Curl_MD5_update(ctxt, (const unsigned char *) nonce,
456 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
458 Curl_MD5_update(ctxt, (const unsigned char *) nonceCount,
460 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
461 Curl_MD5_update(ctxt, (const unsigned char *) cnonce,
463 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
464 Curl_MD5_update(ctxt, (const unsigned char *) qop,
466 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
468 Curl_MD5_update(ctxt, (const unsigned char *) HA2_hex, 2 * MD5_DIGEST_LEN);
469 Curl_MD5_final(ctxt, digest);