Searched refs:hHash (Results 1 – 4 of 4) sorted by relevance
/curl/lib/ |
H A D | sha256.c | 215 HCRYPTHASH hHash; member 230 if(!CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash)) { in my_sha256_init() 244 CryptHashData(ctx->hHash, (unsigned char *) data, length, 0); in my_sha256_update() 252 CryptGetHashParam(ctx->hHash, HP_HASHVAL, NULL, &length, 0); in my_sha256_final() 254 CryptGetHashParam(ctx->hHash, HP_HASHVAL, digest, &length, 0); in my_sha256_final() 256 if(ctx->hHash) in my_sha256_final() 257 CryptDestroyHash(ctx->hHash); in my_sha256_final()
|
H A D | md4.c | 142 HCRYPTHASH hHash; member 149 ctx->hHash = 0; in MD4_Init() 155 if(!CryptCreateHash(ctx->hCryptProv, CALG_MD4, 0, 0, &ctx->hHash)) { in MD4_Init() 166 CryptHashData(ctx->hHash, (BYTE *)data, (unsigned int) size, 0); in MD4_Update() 173 CryptGetHashParam(ctx->hHash, HP_HASHVAL, NULL, &length, 0); in MD4_Final() 175 CryptGetHashParam(ctx->hHash, HP_HASHVAL, result, &length, 0); in MD4_Final() 177 if(ctx->hHash) in MD4_Final() 178 CryptDestroyHash(ctx->hHash); in MD4_Final()
|
H A D | md5.c | 205 HCRYPTHASH hHash; member 216 if(!CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash)) { in my_md5_init() 230 CryptHashData(ctx->hHash, (unsigned char *)input, inputLen, 0); in my_md5_update() 237 CryptGetHashParam(ctx->hHash, HP_HASHVAL, NULL, &length, 0); in my_md5_final() 239 CryptGetHashParam(ctx->hHash, HP_HASHVAL, digest, &length, 0); in my_md5_final() 240 if(ctx->hHash) in my_md5_final() 241 CryptDestroyHash(ctx->hHash); in my_md5_final()
|
/curl/lib/vtls/ |
H A D | schannel.c | 2577 HCRYPTHASH hHash = 0; in schannel_checksum() 2592 if(!CryptCreateHash(hProv, algId, 0, 0, &hHash)) in schannel_checksum() 2595 if(!CryptHashData(hHash, input, (DWORD)inputlen, 0)) in schannel_checksum() 2599 if(!CryptGetHashParam(hHash, HP_HASHSIZE, (BYTE *)&cbHashSize, in schannel_checksum() 2607 if(CryptGetHashParam(hHash, HP_HASHVAL, checksum, &dwChecksumLen, 0)) in schannel_checksum() 2611 if(hHash) in schannel_checksum() 2612 CryptDestroyHash(hHash); in schannel_checksum()
|
Completed in 23 milliseconds