]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: Move MAC-seeded rand out of bootp.c
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 07:57:58 +0000 (07:57 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 19:19:22 +0000 (14:19 -0500)
commiteafc8db0e35275330f43a4cf7b7ae8aba71c9728
tree0f76700afacfdeab0feafbd787e32d347083a0fd
parent806150063a6b98d7e757bd9f640af1755bb387fd
net: Move MAC-seeded rand out of bootp.c

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 <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
net/Makefile
net/bootp.c
net/bootp.h
net/net_rand.c [new file with mode: 0644]
net/net_rand.h [new file with mode: 0644]