Home
last modified time | relevance | path

Searched refs:ctxt (Results 1 – 9 of 9) sorted by relevance

/curl/lib/
H A Dhmac.c64 ctxt = malloc(i); in Curl_HMAC_init()
66 if(!ctxt) in Curl_HMAC_init()
67 return ctxt; in Curl_HMAC_init()
69 ctxt->hash = hashparams; in Curl_HMAC_init()
70 ctxt->hashctxt1 = (void *) (ctxt + 1); in Curl_HMAC_init()
71 ctxt->hashctxt2 = (void *) ((char *) ctxt->hashctxt1 + hashparams->ctxtsize); in Curl_HMAC_init()
100 return ctxt; in Curl_HMAC_init()
108 ctxt->hash->hupdate(ctxt->hashctxt1, ptr, len); in Curl_HMAC_update()
121 output = (unsigned char *) ctxt->hashctxt2 + ctxt->hash->ctxtsize; in Curl_HMAC_final()
126 free(ctxt); in Curl_HMAC_final()
[all …]
H A Dmd5.c603 struct MD5_context *ctxt; in Curl_MD5_init() local
606 ctxt = malloc(sizeof(*ctxt)); in Curl_MD5_init()
608 if(!ctxt) in Curl_MD5_init()
609 return ctxt; in Curl_MD5_init()
611 ctxt->md5_hashctx = malloc(md5params->md5_ctxtsize); in Curl_MD5_init()
613 if(!ctxt->md5_hashctx) { in Curl_MD5_init()
614 free(ctxt); in Curl_MD5_init()
618 ctxt->md5_hash = md5params; in Curl_MD5_init()
621 free(ctxt->md5_hashctx); in Curl_MD5_init()
622 free(ctxt); in Curl_MD5_init()
[all …]
H A Dpop3.c494 struct MD5_context *ctxt; in pop3_perform_apop() local
507 ctxt = Curl_MD5_init(&Curl_DIGEST_MD5); in pop3_perform_apop()
508 if(!ctxt) in pop3_perform_apop()
511 Curl_MD5_update(ctxt, (const unsigned char *) pop3c->apoptimestamp, in pop3_perform_apop()
514 Curl_MD5_update(ctxt, (const unsigned char *) conn->passwd, in pop3_perform_apop()
518 Curl_MD5_final(ctxt, digest); in pop3_perform_apop()
/curl/lib/vauth/
H A Dcram.c65 struct HMAC_context *ctxt; in Curl_auth_create_cram_md5_message() local
70 ctxt = Curl_HMAC_init(&Curl_HMAC_MD5, in Curl_auth_create_cram_md5_message()
73 if(!ctxt) in Curl_auth_create_cram_md5_message()
78 Curl_HMAC_update(ctxt, Curl_bufref_ptr(chlg), in Curl_auth_create_cram_md5_message()
82 Curl_HMAC_final(ctxt, digest); in Curl_auth_create_cram_md5_message()
H A Ddigest.c344 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()
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()
416 Curl_MD5_final(ctxt, digest); in Curl_auth_create_digest_md5_message()
429 if(!ctxt) { in Curl_auth_create_digest_md5_message()
440 Curl_MD5_final(ctxt, digest); in Curl_auth_create_digest_md5_message()
447 if(!ctxt) { in Curl_auth_create_digest_md5_message()
[all …]
/curl/docs/examples/
H A Dhtmltitle.cpp243 htmlParserCtxtPtr ctxt; in parseHtml() local
246 ctxt = htmlCreatePushParserCtxt(&saxHandler, &context, "", 0, "", in parseHtml()
249 htmlParseChunk(ctxt, html.c_str(), html.size(), 0); in parseHtml()
250 htmlParseChunk(ctxt, "", 0, 1); in parseHtml()
252 htmlFreeParserCtxt(ctxt); in parseHtml()
/curl/lib/vtls/
H A Dschannel.c1062 if(!backend->ctxt) { in schannel_connect_step1()
1078 0, &backend->ctxt->ctxt_handle, in schannel_connect_step1()
1083 Curl_safefree(backend->ctxt); in schannel_connect_step1()
1168 if(!backend->cred || !backend->ctxt) in schannel_connect_step2()
1786 &backend->ctxt->ctxt_handle, in schannel_send()
2314 if(backend->ctxt) { in schannel_shutdown()
2352 &backend->ctxt->ctxt_handle, in schannel_shutdown()
2359 &backend->ctxt->ctxt_handle, in schannel_shutdown()
2362 &backend->ctxt->time_stamp); in schannel_shutdown()
2440 if(backend->ctxt) { in schannel_close()
[all …]
H A Dschannel_int.h144 struct Curl_schannel_ctxt *ctxt; member
H A Dschannel_verify.c537 Curl_pSecFn->QueryContextAttributes(&BACKEND->ctxt->ctxt_handle, in Curl_verify_host()
691 Curl_pSecFn->QueryContextAttributes(&BACKEND->ctxt->ctxt_handle, in Curl_verify_certificate()

Completed in 30 milliseconds