Searched refs:SHA256pw (Results 1 – 3 of 3) sorted by relevance
/external/curl/lib/vtls/ |
D | gtls.c | 1634 struct sha256_ctx SHA256pw; in Curl_gtls_sha256sum() local 1635 sha256_init(&SHA256pw); in Curl_gtls_sha256sum() 1636 sha256_update(&SHA256pw, (unsigned int)tmplen, tmp); in Curl_gtls_sha256sum() 1637 sha256_digest(&SHA256pw, (unsigned int)sha256len, sha256sum); in Curl_gtls_sha256sum() 1639 gcry_md_hd_t SHA256pw; in Curl_gtls_sha256sum() 1640 gcry_md_open(&SHA256pw, GCRY_MD_SHA256, 0); in Curl_gtls_sha256sum() 1641 gcry_md_write(SHA256pw, tmp, tmplen); in Curl_gtls_sha256sum() 1642 memcpy(sha256sum, gcry_md_read(SHA256pw, 0), sha256len); in Curl_gtls_sha256sum() 1643 gcry_md_close(SHA256pw); in Curl_gtls_sha256sum()
|
D | wolfssl.c | 1101 wc_Sha256 SHA256pw; in Curl_wolfssl_sha256sum() local 1103 wc_InitSha256(&SHA256pw); in Curl_wolfssl_sha256sum() 1104 wc_Sha256Update(&SHA256pw, tmp, (word32)tmplen); in Curl_wolfssl_sha256sum() 1105 wc_Sha256Final(&SHA256pw, sha256sum); in Curl_wolfssl_sha256sum()
|
D | nss.c | 2391 PK11Context *SHA256pw = PK11_CreateDigestContext(SEC_OID_SHA256); in Curl_nss_sha256sum() local 2394 if(!SHA256pw) in Curl_nss_sha256sum() 2397 PK11_DigestOp(SHA256pw, tmp, curlx_uztoui(tmplen)); in Curl_nss_sha256sum() 2398 PK11_DigestFinal(SHA256pw, sha256sum, &SHA256out, curlx_uztoui(sha256len)); in Curl_nss_sha256sum() 2399 PK11_DestroyContext(SHA256pw, PR_TRUE); in Curl_nss_sha256sum()
|