Re: [PATCH v5 06/11] nios2: use fallback for random_get_entropy() instead of zero

2022-05-02 Thread Dinh Nguyen
On 4/19/22 06:16, Jason A. Donenfeld wrote: In the event that random_get_entropy() can't access a cycle counter or similar, falling back to returning 0 is really not the best we can do. Instead, at least calling random_get_entropy_fallback() would be preferable, because that always needs to re

[PATCH v5 06/11] nios2: use fallback for random_get_entropy() instead of zero

2022-04-19 Thread Jason A. Donenfeld
In the event that random_get_entropy() can't access a cycle counter or similar, falling back to returning 0 is really not the best we can do. Instead, at least calling random_get_entropy_fallback() would be preferable, because that always needs to return _something_, even falling back to jiffies ev