urandom(4) -> random(4) in comments.
PR: 27858 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> Reviewed by: md5(1) Approved by: markm
This commit is contained in:
parent
df49b8e2ab
commit
a7d81577d6
@ -111,7 +111,7 @@ u_int seed;
|
||||
*
|
||||
* Many programs choose the seed value in a totally predictable manner.
|
||||
* This often causes problems. We seed the generator using the much more
|
||||
* secure urandom(4) interface.
|
||||
* secure random(4) interface.
|
||||
*/
|
||||
void
|
||||
sranddev()
|
||||
|
@ -282,7 +282,7 @@ srandom(x)
|
||||
*
|
||||
* Many programs choose the seed value in a totally predictable manner.
|
||||
* This often causes problems. We seed the generator using the much more
|
||||
* secure urandom(4) interface. Note that this particular seeding
|
||||
* secure random(4) interface. Note that this particular seeding
|
||||
* procedure can generate states which are impossible to reproduce by
|
||||
* calling srandom() with any value, since the succeeding terms in the
|
||||
* state buffer are no longer derived from the LC algorithm applied to
|
||||
|
Loading…
x
Reference in New Issue
Block a user