[U-Boot] [PATCH v4 1/3] lib: add rand() function

Wolfgang Denk wd at denx.de
Fri May 11 21:20:02 CEST 2012


Dear Michael Walle,

In message <1336671134-16342-2-git-send-email-michael at walle.cc> you wrote:
> It's a PRNG using the simple and fast xorshift method.
...
> +static unsigned int y = 2463534242U;

Hm... can we introduce at least a little entropy somewhere?


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A Puritan is someone who is deathly afraid that  someone,  somewhere,
is having fun.


More information about the U-Boot mailing list