crypto: qcom-rng - ensure buffer for generate is completely filled
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2121062 Upstream Status: linus.git
This series backports two fixes to drivers/crypto/qcom-rng.c where the driver can return all zeros if the hardware does not have sufficient entropy available. This also enables the random number generator node on the sc8280xp for the sa8540p automotive development board.
Signed-off-by: Brian Masney bmasney@redhat.com
Edited by Brian Masney