Home | History | Annotate | Download | only in vauth

Lines Matching refs:ctxt

336   MD5_context *ctxt;
386 ctxt = Curl_MD5_init(Curl_DIGEST_MD5);
387 if(!ctxt)
390 Curl_MD5_update(ctxt, (const unsigned char *) userp,
392 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
393 Curl_MD5_update(ctxt, (const unsigned char *) realm,
395 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
396 Curl_MD5_update(ctxt, (const unsigned char *) passwdp,
398 Curl_MD5_final(ctxt, digest);
400 ctxt = Curl_MD5_init(Curl_DIGEST_MD5);
401 if(!ctxt)
404 Curl_MD5_update(ctxt, (const unsigned char *) digest, MD5_DIGEST_LEN);
405 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
406 Curl_MD5_update(ctxt, (const unsigned char *) nonce,
408 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
409 Curl_MD5_update(ctxt, (const unsigned char *) cnonce,
411 Curl_MD5_final(ctxt, digest);
423 ctxt = Curl_MD5_init(Curl_DIGEST_MD5);
424 if(!ctxt) {
430 Curl_MD5_update(ctxt, (const unsigned char *) method,
432 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
433 Curl_MD5_update(ctxt, (const unsigned char *) spn,
435 Curl_MD5_final(ctxt, digest);
441 ctxt = Curl_MD5_init(Curl_DIGEST_MD5);
442 if(!ctxt) {
448 Curl_MD5_update(ctxt, (const unsigned char *) HA1_hex, 2 * MD5_DIGEST_LEN);
449 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
450 Curl_MD5_update(ctxt, (const unsigned char *) nonce,
452 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
454 Curl_MD5_update(ctxt, (const unsigned char *) nonceCount,
456 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
457 Curl_MD5_update(ctxt, (const unsigned char *) cnonce,
459 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
460 Curl_MD5_update(ctxt, (const unsigned char *) qop,
462 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1);
464 Curl_MD5_update(ctxt, (const unsigned char *) HA2_hex, 2 * MD5_DIGEST_LEN);
465 Curl_MD5_final(ctxt, digest);