Lines Matching refs:ctxt
344 struct MD5_context *ctxt; in Curl_auth_create_digest_md5_message() local
391 ctxt = Curl_MD5_init(&Curl_DIGEST_MD5); in Curl_auth_create_digest_md5_message()
392 if(!ctxt) in Curl_auth_create_digest_md5_message()
395 Curl_MD5_update(ctxt, (const unsigned char *) userp, in Curl_auth_create_digest_md5_message()
397 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
398 Curl_MD5_update(ctxt, (const unsigned char *) realm, in Curl_auth_create_digest_md5_message()
400 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
401 Curl_MD5_update(ctxt, (const unsigned char *) passwdp, in Curl_auth_create_digest_md5_message()
403 Curl_MD5_final(ctxt, digest); in Curl_auth_create_digest_md5_message()
405 ctxt = Curl_MD5_init(&Curl_DIGEST_MD5); in Curl_auth_create_digest_md5_message()
406 if(!ctxt) in Curl_auth_create_digest_md5_message()
409 Curl_MD5_update(ctxt, (const unsigned char *) digest, MD5_DIGEST_LEN); in Curl_auth_create_digest_md5_message()
410 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
411 Curl_MD5_update(ctxt, (const unsigned char *) nonce, in Curl_auth_create_digest_md5_message()
413 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
414 Curl_MD5_update(ctxt, (const unsigned char *) cnonce, in Curl_auth_create_digest_md5_message()
416 Curl_MD5_final(ctxt, digest); in Curl_auth_create_digest_md5_message()
428 ctxt = Curl_MD5_init(&Curl_DIGEST_MD5); in Curl_auth_create_digest_md5_message()
429 if(!ctxt) { in Curl_auth_create_digest_md5_message()
435 Curl_MD5_update(ctxt, (const unsigned char *) method, in Curl_auth_create_digest_md5_message()
437 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
438 Curl_MD5_update(ctxt, (const unsigned char *) spn, in Curl_auth_create_digest_md5_message()
440 Curl_MD5_final(ctxt, digest); in Curl_auth_create_digest_md5_message()
446 ctxt = Curl_MD5_init(&Curl_DIGEST_MD5); in Curl_auth_create_digest_md5_message()
447 if(!ctxt) { in Curl_auth_create_digest_md5_message()
453 Curl_MD5_update(ctxt, (const unsigned char *) HA1_hex, 2 * MD5_DIGEST_LEN); in Curl_auth_create_digest_md5_message()
454 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
455 Curl_MD5_update(ctxt, (const unsigned char *) nonce, in Curl_auth_create_digest_md5_message()
457 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
459 Curl_MD5_update(ctxt, (const unsigned char *) nonceCount, in Curl_auth_create_digest_md5_message()
461 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
462 Curl_MD5_update(ctxt, (const unsigned char *) cnonce, in Curl_auth_create_digest_md5_message()
464 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
465 Curl_MD5_update(ctxt, (const unsigned char *) qop, in Curl_auth_create_digest_md5_message()
467 Curl_MD5_update(ctxt, (const unsigned char *) ":", 1); in Curl_auth_create_digest_md5_message()
469 Curl_MD5_update(ctxt, (const unsigned char *) HA2_hex, 2 * MD5_DIGEST_LEN); in Curl_auth_create_digest_md5_message()
470 Curl_MD5_final(ctxt, digest); in Curl_auth_create_digest_md5_message()