Home
last modified time | relevance | path

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

/external/curl/lib/vtls/
Dgtls.c1816 struct sha256_ctx SHA256pw; in Curl_gtls_sha256sum() local
1817 sha256_init(&SHA256pw); in Curl_gtls_sha256sum()
1818 sha256_update(&SHA256pw, (unsigned int)tmplen, tmp); in Curl_gtls_sha256sum()
1819 sha256_digest(&SHA256pw, (unsigned int)sha256len, sha256sum); in Curl_gtls_sha256sum()
1821 gcry_md_hd_t SHA256pw; in Curl_gtls_sha256sum()
1822 gcry_md_open(&SHA256pw, GCRY_MD_SHA256, 0); in Curl_gtls_sha256sum()
1823 gcry_md_write(SHA256pw, tmp, tmplen); in Curl_gtls_sha256sum()
1824 memcpy(sha256sum, gcry_md_read(SHA256pw, 0), sha256len); in Curl_gtls_sha256sum()
1825 gcry_md_close(SHA256pw); in Curl_gtls_sha256sum()
Dcyassl.c968 Sha256 SHA256pw; in Curl_cyassl_sha256sum() local
970 InitSha256(&SHA256pw); in Curl_cyassl_sha256sum()
971 Sha256Update(&SHA256pw, tmp, (word32)tmplen); in Curl_cyassl_sha256sum()
972 Sha256Final(&SHA256pw, sha256sum); in Curl_cyassl_sha256sum()
Dnss.c2362 PK11Context *SHA256pw = PK11_CreateDigestContext(SEC_OID_SHA256); in Curl_nss_sha256sum() local
2365 PK11_DigestOp(SHA256pw, tmp, curlx_uztoui(tmplen)); in Curl_nss_sha256sum()
2366 PK11_DigestFinal(SHA256pw, sha256sum, &SHA256out, curlx_uztoui(sha256len)); in Curl_nss_sha256sum()
2367 PK11_DestroyContext(SHA256pw, PR_TRUE); in Curl_nss_sha256sum()