size_t i;
u_int32_t random_number = 0;
+ (void)data;
+
for(i = 0 ; i < length ; i++) {
if(i % sizeof(u_int32_t) == 0)
random_number = arc4random();
unsigned char *sha256sum,
size_t sha256len UNUSED_PARAM)
{
+ (void)sha256len;
mbedtls_sha256(input, inputlen, sha256sum, 0);
}
unsigned char *sha256sum,
size_t sha256len UNUSED_PARAM)
{
+ (void)sha256len;
sha256(input, inputlen, sha256sum, 0);
}
{
HCRYPTPROV hCryptProv = 0;
+ (void)data;
+
if(!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL,
CRYPT_VERIFYCONTEXT | CRYPT_SILENT))
return CURLE_FAILED_INIT;