Home
last modified time | relevance | path

Searched refs:MD5pw (Results 1 – 3 of 3) sorted by relevance

/external/curl/lib/vtls/
Dgtls.c1796 struct md5_ctx MD5pw; in Curl_gtls_md5sum() local
1797 md5_init(&MD5pw); in Curl_gtls_md5sum()
1798 md5_update(&MD5pw, (unsigned int)tmplen, tmp); in Curl_gtls_md5sum()
1799 md5_digest(&MD5pw, (unsigned int)md5len, md5sum); in Curl_gtls_md5sum()
1801 gcry_md_hd_t MD5pw; in Curl_gtls_md5sum()
1802 gcry_md_open(&MD5pw, GCRY_MD_MD5, 0); in Curl_gtls_md5sum()
1803 gcry_md_write(MD5pw, tmp, tmplen); in Curl_gtls_md5sum()
1804 memcpy(md5sum, gcry_md_read(MD5pw, 0), md5len); in Curl_gtls_md5sum()
1805 gcry_md_close(MD5pw); in Curl_gtls_md5sum()
Dvtls.c1081 MD5_context *MD5pw; in Curl_none_md5sum() local
1085 MD5pw = Curl_MD5_init(Curl_DIGEST_MD5); in Curl_none_md5sum()
1086 if(!MD5pw) in Curl_none_md5sum()
1088 Curl_MD5_update(MD5pw, input, curlx_uztoui(inputlen)); in Curl_none_md5sum()
1089 Curl_MD5_final(MD5pw, md5sum); in Curl_none_md5sum()
Dnss.c2347 PK11Context *MD5pw = PK11_CreateDigestContext(SEC_OID_MD5); in Curl_nss_md5sum() local
2350 PK11_DigestOp(MD5pw, tmp, curlx_uztoui(tmplen)); in Curl_nss_md5sum()
2351 PK11_DigestFinal(MD5pw, md5sum, &MD5out, curlx_uztoui(md5len)); in Curl_nss_md5sum()
2352 PK11_DestroyContext(MD5pw, PR_TRUE); in Curl_nss_md5sum()