Lines Matching refs:nonce

260  * nonce   [in/out] - The buffer where the nonce will be stored.
261 * nlen [in] - The length of the nonce buffer.
272 char *nonce, size_t nlen,
283 /* Retrieve nonce string from the challenge */
284 if(!auth_digest_get_key_value(chlg, "nonce=\"", nonce, nlen, '\"'))
349 char nonce[64];
362 nonce, sizeof(nonce),
410 Curl_MD5_update(ctxt, (const unsigned char *) nonce,
411 curlx_uztoui(strlen(nonce)));
454 Curl_MD5_update(ctxt, (const unsigned char *) nonce,
455 curlx_uztoui(strlen(nonce)));
475 response = aprintf("username=\"%s\",realm=\"%s\",nonce=\"%s\","
478 userp, realm, nonce,
505 bool before = FALSE; /* got a nonce before */
511 /* If we already have received a nonce, keep that in mind */
512 if(digest->nonce)
528 if(strcasecompare(value, "nonce")) {
529 free(digest->nonce);
530 digest->nonce = strdup(content);
531 if(!digest->nonce)
537 digest->nc = 1; /* we make a new nonce now */
632 /* We had a nonce since before, and we got another one now without
638 /* We got this header without a nonce, that's a bad Digest line! */
639 if(!digest->nonce)
733 unq(nonce-value) ":" unq(cnonce-value)
746 /* nonce and cnonce are OUTSIDE the hash */
747 tmp = aprintf("%s:%s:%s", ha1, digest->nonce, digest->cnonce);
794 hashthis = aprintf("%s:%s:%08x:%s:%s:%s", ha1, digest->nonce, digest->nc,
798 hashthis = aprintf("%s:%s:%s", ha1, digest->nonce, ha2);
811 nonce="1053604145", uri="/64", response="c55f7f30d83d774a3d2dcacf725abaca"
815 realm, nonce, and opaque will need backslashes as well as they were
835 nonce_quoted = auth_digest_string_quoted(digest->nonce);
845 "nonce=\"%s\", "
860 /* Increment nonce-count to use another nc value for the next request */
866 "nonce=\"%s\", "
980 Curl_safefree(digest->nonce);