#
cb3ce954 |
|
14-Dec-2023 |
Tom Rini <trini@konsulko.com> |
global: Drop common.h inclusion In order to make it easier to move on to dropping common.h from code directly, remove common.h inclusion from the rest of the header file which had been including it. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> |
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de> |
#
b044cc1d |
|
06-Jun-2017 |
Jimmy Du <jimmy.du@ni.com> |
net: Get mac address from driver as seed 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 <jimmy.du@ni.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> |
#
99e139d5 |
|
05-Jun-2012 |
Michael Walle <michael@walle.cc> |
net: use common rand()/srand() functions 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 <michael@walle.cc> Acked-by: Joe Hershberger <joe.hershberger@ni.com> |
#
eafc8db0 |
|
23-May-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
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> |
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
ea707dc0 |
|
18-Dec-2020 |
Matthias Brugger <mbrugger@suse.com> |
net: Use NDRNG device in srand_mac() 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 <mbrugger@suse.com> Reviewed-by: Torsten Duwe <duwe@suse.de>
|
#
b044cc1d |
|
06-Jun-2017 |
Jimmy Du <jimmy.du@ni.com> |
net: Get mac address from driver as seed 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 <jimmy.du@ni.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
|
#
99e139d5 |
|
05-Jun-2012 |
Michael Walle <michael@walle.cc> |
net: use common rand()/srand() functions 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 <michael@walle.cc> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
|
#
eafc8db0 |
|
23-May-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
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>
|