Searched refs:MD5pw (Results 1 – 4 of 4) sorted by relevance
/external/curl/lib/vtls/ |
D | gtls.c | 1647 struct md5_ctx MD5pw; 1648 md5_init(&MD5pw); 1649 md5_update(&MD5pw, (unsigned int)tmplen, tmp); 1650 md5_digest(&MD5pw, (unsigned int)md5len, md5sum); 1652 gcry_md_hd_t MD5pw; 1653 gcry_md_open(&MD5pw, GCRY_MD_MD5, 0); 1654 gcry_md_write(MD5pw, tmp, tmplen); 1655 memcpy(md5sum, gcry_md_read (MD5pw, 0), md5len); 1656 gcry_md_close(MD5pw);
|
D | vtls.c | 937 MD5_context *MD5pw; in Curl_ssl_md5sum() 941 MD5pw = Curl_MD5_init(Curl_DIGEST_MD5); in Curl_ssl_md5sum() 942 if(!MD5pw) in Curl_ssl_md5sum() 944 Curl_MD5_update(MD5pw, tmp, curlx_uztoui(tmplen)); in Curl_ssl_md5sum() 945 Curl_MD5_final(MD5pw, md5sum); in Curl_ssl_md5sum()
|
D | nss.c | 2154 PK11Context *MD5pw = PK11_CreateDigestContext(SEC_OID_MD5); in Curl_nss_md5sum() local 2157 PK11_DigestOp(MD5pw, tmp, curlx_uztoui(tmplen)); in Curl_nss_md5sum() 2158 PK11_DigestFinal(MD5pw, md5sum, &MD5out, curlx_uztoui(md5len)); in Curl_nss_md5sum() 2159 PK11_DestroyContext(MD5pw, PR_TRUE); in Curl_nss_md5sum()
|
D | openssl.c | 3293 MD5_CTX MD5pw; in Curl_ossl_md5sum() local 3295 MD5_Init(&MD5pw); in Curl_ossl_md5sum() 3296 MD5_Update(&MD5pw, tmp, tmplen); in Curl_ossl_md5sum() 3297 MD5_Final(md5sum, &MD5pw); in Curl_ossl_md5sum()
|