int ctr_uninstantiate(RAND_DRBG *drbg)
{
- memset(&drbg->ctr, 0, sizeof(drbg->ctr));
+ OPENSSL_cleanse(&drbg->ctr, sizeof(drbg->ctr));
return 1;
}
}
drbg->max_request = 1 << 16;
- drbg->reseed_interval = MAX_RESEED;
+ drbg->reseed_interval = MAX_RESEED_INTERVAL;
return 1;
}