Searched refs:MD5pw (Results 1 – 4 of 4) sorted by relevance
/external/curl/lib/vtls/ |
D | gtls.c | 1592 struct md5_ctx MD5pw; in Curl_gtls_md5sum() local 1593 md5_init(&MD5pw); in Curl_gtls_md5sum() 1594 md5_update(&MD5pw, (unsigned int)tmplen, tmp); in Curl_gtls_md5sum() 1595 md5_digest(&MD5pw, (unsigned int)md5len, md5sum); in Curl_gtls_md5sum() 1597 gcry_md_hd_t MD5pw; in Curl_gtls_md5sum() 1598 gcry_md_open(&MD5pw, GCRY_MD_MD5, 0); in Curl_gtls_md5sum() 1599 gcry_md_write(MD5pw, tmp, tmplen); in Curl_gtls_md5sum() 1600 memcpy(md5sum, gcry_md_read (MD5pw, 0), md5len); in Curl_gtls_md5sum() 1601 gcry_md_close(MD5pw); in Curl_gtls_md5sum()
|
D | vtls.c | 968 MD5_context *MD5pw; in Curl_ssl_md5sum() 972 MD5pw = Curl_MD5_init(Curl_DIGEST_MD5); in Curl_ssl_md5sum() 973 if(!MD5pw) in Curl_ssl_md5sum() 975 Curl_MD5_update(MD5pw, tmp, curlx_uztoui(tmplen)); in Curl_ssl_md5sum() 976 Curl_MD5_final(MD5pw, md5sum); in Curl_ssl_md5sum()
|
D | nss.c | 2043 PK11Context *MD5pw = PK11_CreateDigestContext(SEC_OID_MD5); in Curl_nss_md5sum() local 2046 PK11_DigestOp(MD5pw, tmp, curlx_uztoui(tmplen)); in Curl_nss_md5sum() 2047 PK11_DigestFinal(MD5pw, md5sum, &MD5out, curlx_uztoui(md5len)); in Curl_nss_md5sum() 2048 PK11_DestroyContext(MD5pw, PR_TRUE); in Curl_nss_md5sum()
|
D | openssl.c | 3191 MD5_CTX MD5pw; in Curl_ossl_md5sum() local 3193 MD5_Init(&MD5pw); in Curl_ossl_md5sum() 3194 MD5_Update(&MD5pw, tmp, tmplen); in Curl_ossl_md5sum() 3195 MD5_Final(md5sum, &MD5pw); in Curl_ossl_md5sum()
|