Am 2019-08-23 05:17, schrieb Bin Meng:
On Fri, Aug 23, 2019 at 6:08 AM Michael Walle wrote:
The net_random_ethaddr() tries to get some entropy from different
startup times of a board. The seed is initialized with get_timer()
which
has only a granularity of milliseconds. We can do better if
On Fri, Aug 23, 2019 at 6:08 AM Michael Walle wrote:
>
> The net_random_ethaddr() tries to get some entropy from different
> startup times of a board. The seed is initialized with get_timer() which
> has only a granularity of milliseconds. We can do better if we use
> get_ticks() which returns
The net_random_ethaddr() tries to get some entropy from different
startup times of a board. The seed is initialized with get_timer() which
has only a granularity of milliseconds. We can do better if we use
get_ticks() which returns the raw timer ticks. Using this we have a
higher chance of getting
3 matches
Mail list logo