Post
Topic
Board Development & Technical Discussion
Re: secp256r1 / P256
by
hskun
on 21/10/2021, 06:40:04 UTC
here is the reason for Rand() not to work:

in BSGS code the function rseed() in Random.cpp is never called

so, without seeding no harvest.....

yes, you can add the rseed()here:

.....
int main(int argc, char* argv[]) {

  // Global Init
  Timer::Init();
  rseed(Timer::getSeed32());

.....