Re: warning: TEST_RANDOM_GENERATOR
Paul Sokolovsky
Hello Andrei,
On Tue, 29 Jan 2019 13:35:19 +0000 "Andrei Gansari" <andrei.gansari@...> wrote: Hello everyone,We want to have a "random generator" device be present in Zephyr setup, which various subsystems then can use (instead of failing). So, TEST_RANDOM_GENERATOR is a fallback choice which is always available. For example, it's available in qemu_* boards, which otherwise don't have a "real" randomgen. That's why you see TEST_RANDOM_GENERATOR in many networking samples - the only way to make networking samples accessing to *anyone* is to make sure they run with qemu networking. Regarding "predictable random number generator", that's interesting idea for some kinds of testing, but I'm personally not aware of us using such advanced and cunning test methods in Zephyr. If we want[] -- Best Regards, Paul Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog |
|