random number generator seed
Posted: Thu Aug 07, 2014 4:03 am
Hi all,
I've seen many discussions talking about random number and wonder which solution would be the best? The solution I came up with is using halGetCounterValue() as the srand seed, and it looks functioning pretty well. Any suggestions?
By the way, I use STM32L. No hardware RNG.
Thanks,
Shan
I've seen many discussions talking about random number and wonder which solution would be the best? The solution I came up with is using halGetCounterValue() as the srand seed, and it looks functioning pretty well. Any suggestions?
By the way, I use STM32L. No hardware RNG.
Thanks,
Shan