Home
last modified time | relevance | path

Searched refs:hHash (Results 1 – 4 of 4) sorted by relevance

/external/curl/src/
Dtool_metalink.c83 HCRYPTHASH hHash; member
390 CryptGetHashParam(ctx->hHash, HP_HASHVAL, NULL, &length, 0); in win32_crypto_final()
392 CryptGetHashParam(ctx->hHash, HP_HASHVAL, digest, &length, 0); in win32_crypto_final()
393 if(ctx->hHash) in win32_crypto_final()
394 CryptDestroyHash(ctx->hHash); in win32_crypto_final()
403 CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash); in MD5_Init()
412 CryptHashData(ctx->hHash, (unsigned char *)input, inputLen, 0); in MD5_Update()
424 CryptCreateHash(ctx->hCryptProv, CALG_SHA1, 0, 0, &ctx->hHash); in SHA1_Init()
433 CryptHashData(ctx->hHash, (unsigned char *)input, inputLen, 0); in SHA1_Update()
445 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
[all …]
/external/curl/lib/
Dmd5.c136 HCRYPTHASH hHash; member
143 CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash); in MD5_Init()
151 CryptHashData(ctx->hHash, (unsigned char *)input, inputLen, 0); in MD5_Update()
157 CryptGetHashParam(ctx->hHash, HP_HASHVAL, NULL, &length, 0); in MD5_Final()
159 CryptGetHashParam(ctx->hHash, HP_HASHVAL, digest, &length, 0); in MD5_Final()
160 if(ctx->hHash) in MD5_Final()
161 CryptDestroyHash(ctx->hHash); in MD5_Final()
/external/curl/lib/vtls/
Dschannel.c2201 HCRYPTHASH hHash = 0; in Curl_schannel_checksum() local
2216 if(!CryptCreateHash(hProv, algId, 0, 0, &hHash)) in Curl_schannel_checksum()
2220 if(!CryptHashData(hHash, (BYTE*)input, (DWORD)inputlen, 0)) in Curl_schannel_checksum()
2224 if(!CryptGetHashParam(hHash, HP_HASHSIZE, (BYTE *)&cbHashSize, in Curl_schannel_checksum()
2232 if(CryptGetHashParam(hHash, HP_HASHVAL, checksum, &dwChecksumLen, 0)) in Curl_schannel_checksum()
2236 if(hHash) in Curl_schannel_checksum()
2237 CryptDestroyHash(hHash); in Curl_schannel_checksum()
/external/syzkaller/sys/windows/
Dwindows.txt2423 CryptSetHashParam(hHash int64, dwParam int32, pbData ptr[inout, int8], dwFlags int32)
2424 CryptGetHashParam(hHash int64, dwParam int32, pbData ptr[inout, int8], pdwDataLen ptr[inout, int32]…
2431 CryptEncrypt(hKey int64, hHash int64, Final int32, dwFlags int32, pbData ptr[inout, int8], pdwDataL…
2432 CryptDecrypt(hKey int64, hHash int64, Final int32, dwFlags int32, pbData ptr[inout, int8], pdwDataL…
2434 CryptHashData(hHash int64, pbData ptr[inout, int8], dwDataLen int32, dwFlags int32)
2435 CryptHashSessionKey(hHash int64, hKey int64, dwFlags int32)
2436 CryptDestroyHash(hHash int64)
2437 CryptSignHashA(hHash int64, dwKeySpec int32, szDescription ptr[inout, int8], dwFlags int32, pbSigna…
2438 CryptVerifySignatureA(hHash int64, pbSignature ptr[inout, int8], dwSigLen int32, hPubKey int64, szD…
2446 CryptDuplicateHash(hHash int64, pdwReserved ptr[inout, int32], dwFlags int32, phHash ptr[inout, int…