]> git.proxmox.com Git - mirror_qemu.git/commit - crypto/random-platform.c
crypto: Change the qcrypto_random_bytes buffer type to void*
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 Mar 2019 02:33:48 +0000 (19:33 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 22 May 2019 16:38:54 +0000 (12:38 -0400)
commitd049b1f2afddd2d3a7b2ed22c274c66305c0b84b
tree61f74c2bf3412874c784be5ad43754f029952a7d
parentdb1ed1abcf4b219d9824e4a6ae5f9ae364f8d009
crypto: Change the qcrypto_random_bytes buffer type to void*

Using uint8_t* merely requires useless casts for use with
other types to be filled with randomness.

Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
crypto/random-gcrypt.c
crypto/random-gnutls.c
crypto/random-platform.c
include/crypto/random.h