<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/u-boot.git/net/net_rand.h, branch master</title>
<subtitle>StarFive Tech U-Boot for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/'/>
<updated>2021-01-19T14:15:02+00:00</updated>
<entry>
<title>net: Use NDRNG device in srand_mac()</title>
<updated>2021-01-19T14:15:02+00:00</updated>
<author>
<name>Matthias Brugger</name>
<email>mbrugger@suse.com</email>
</author>
<published>2020-12-18T09:28:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=ea707dc0aaafad34bba436b206af340c410dfb1b'/>
<id>urn:sha1:ea707dc0aaafad34bba436b206af340c410dfb1b</id>
<content type='text'>
When calling srand_mac we use a weak seed dependent on the
mac address. If present, use a RNG device instead to incerase entropy.

Signed-off-by: Matthias Brugger &lt;mbrugger@suse.com&gt;
Reviewed-by: Torsten Duwe &lt;duwe@suse.de&gt;
</content>
</entry>
<entry>
<title>net: Get mac address from driver as seed</title>
<updated>2017-08-07T20:18:28+00:00</updated>
<author>
<name>Jimmy Du</name>
<email>jimmy.du@ni.com</email>
</author>
<published>2017-06-06T16:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=b044cc1dee8f8af4dcad6ca2ef3ff4f577b79229'/>
<id>urn:sha1:b044cc1dee8f8af4dcad6ca2ef3ff4f577b79229</id>
<content type='text'>
Previously seeded by obtaining mac addr from env. If mac addr was
never set, rand would output 0. This fix obtains the mac addr
from driver instead.

Signed-off-by: Jimmy Du &lt;jimmy.du@ni.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: use common rand()/srand() functions</title>
<updated>2012-07-07T12:07:32+00:00</updated>
<author>
<name>Michael Walle</name>
<email>michael@walle.cc</email>
</author>
<published>2012-06-05T11:33:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=99e139d5902e488eb779cd4f00c978f3803c39be'/>
<id>urn:sha1:99e139d5902e488eb779cd4f00c978f3803c39be</id>
<content type='text'>
Replace rand() with the functions from lib/. The link-local network code
stores its own seed, derived from the MAC address. Thus making it
independent from calls to srand() in other modules.

Signed-off-by: Michael Walle &lt;michael@walle.cc&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: Move MAC-seeded rand out of bootp.c</title>
<updated>2012-05-23T19:19:22+00:00</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2012-05-23T07:57:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=eafc8db0e35275330f43a4cf7b7ae8aba71c9728'/>
<id>urn:sha1:eafc8db0e35275330f43a4cf7b7ae8aba71c9728</id>
<content type='text'>
Make the MAC-seeded random number generator available to /net in
general.  MAC-seeded rand will be needed by link-local as well, so
give it an interface.

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
