Searched refs:hHash (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/libxslt/libexslt/ |
D | crypto.c | 149 HCRYPTHASH hHash = 0; in exsltCryptoCryptoApiCreateHash() local 152 if (!CryptCreateHash (hCryptProv, algorithm, 0, 0, &hHash)) { in exsltCryptoCryptoApiCreateHash() 157 if (!CryptHashData (hHash, (const BYTE *) msg, msglen, 0)) { in exsltCryptoCryptoApiCreateHash() 162 if (!CryptGetHashParam (hHash, HP_HASHVAL, dest, &dwHashLen, 0)) { in exsltCryptoCryptoApiCreateHash() 168 return hHash; in exsltCryptoCryptoApiCreateHash() 188 HCRYPTHASH hHash; in exsltCryptoCryptoApiHash() local 196 hHash = exsltCryptoCryptoApiCreateHash (ctxt, hCryptProv, in exsltCryptoCryptoApiHash() 199 if (0 != hHash) { in exsltCryptoCryptoApiHash() 200 CryptDestroyHash (hHash); in exsltCryptoCryptoApiHash() 213 HCRYPTHASH hHash; in exsltCryptoCryptoApiRc4Encrypt() local [all …]
|
/external/chromium_org/net/third_party/nss/ssl/ |
D | sslplatf.c | 337 HCRYPTHASH hHash = 0; in ssl3_CAPIPlatformSignHashes() local 394 if (!CryptCreateHash(key->hCryptProv, hashAlg, 0, 0, &hHash)) { in ssl3_CAPIPlatformSignHashes() 399 if (!CryptGetHashParam(hHash, HP_HASHSIZE, (BYTE*)&hashLen, &argLen, 0)) { in ssl3_CAPIPlatformSignHashes() 407 if (!CryptSetHashParam(hHash, HP_HASHVAL, (BYTE*)hashItem.data, 0)) { in ssl3_CAPIPlatformSignHashes() 411 if (!CryptSignHash(hHash, key->dwKeySpec, NULL, 0, in ssl3_CAPIPlatformSignHashes() 420 if (!CryptSignHash(hHash, key->dwKeySpec, NULL, 0, in ssl3_CAPIPlatformSignHashes() 450 if (hHash) in ssl3_CAPIPlatformSignHashes() 451 CryptDestroyHash(hHash); in ssl3_CAPIPlatformSignHashes()
|