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

2022-05-23 Thread Dinh Nguyen
On 4/13/22 06:54, 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 v4 06/11] nios2: use fallback for random_get_entropy() instead of zero

2022-04-13 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