summaryrefslogtreecommitdiff
path: root/src/rand.h
Commit message (Collapse)AuthorAgeFilesLines
* [core] adjust li_rand_pseudo* interfacesGlenn Strauss2017-09-201-1/+2
|
* [core] rename li_rand() to li_rand_pseudo_bytes()Glenn Strauss2016-12-051-1/+1
| | | | | to be more explicit that the result is pseudo-random data and not cryptographically random.
* [core] rand.[ch] to use better RNGs when availableGlenn Strauss2016-10-151-0/+10
prefer RAND_pseudo_bytes() (openssl), arc4random() or jrand48(), if available, over rand() These are not necessarily cryptographically secure, but should be better than rand()