On 3/15/19 4:26 AM, Richard Henderson wrote:
> Use a better interface for random numbers than rand().
> Fail gracefully if for some reason we cannot use the crypto system.
>
> Cc: Gerd Hoffmann
> Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
> ---
> v2: Use qcrypto_rand
On Thu, Mar 14, 2019 at 08:26:14PM -0700, Richard Henderson wrote:
> Use a better interface for random numbers than rand().
> Fail gracefully if for some reason we cannot use the crypto system.
>
> Cc: Gerd Hoffmann
> Signed-off-by: Richard Henderson
> ---
> v2: Use qcrypto_random_bytes, not qem
On Thu, Mar 14, 2019 at 08:26:14PM -0700, Richard Henderson wrote:
> Use a better interface for random numbers than rand().
> Fail gracefully if for some reason we cannot use the crypto system.
>
> Cc: Gerd Hoffmann
> Signed-off-by: Richard Henderson
> ---
> v2: Use qcrypto_random_bytes, not qem
Use a better interface for random numbers than rand().
Fail gracefully if for some reason we cannot use the crypto system.
Cc: Gerd Hoffmann
Signed-off-by: Richard Henderson
---
v2: Use qcrypto_random_bytes, not qemu_getrandom, as there is
no need for deterministic results for this interface