Re: [PATCH 2/4] crypto: qcom-rng - Allow zero as a random number

From: Dmitry Baryshkov

Date: Sun Jun 07 2026 - 16:54:51 EST


On Fri, May 29, 2026 at 07:03:30PM -0700, Eric Biggers wrote:
> Zero is a valid random number and needs to be allowed. Otherwise the
> output is distinguishable from random.

ROFL.


Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>

>
> Fixes: f29cd5bb64c2 ("crypto: qcom-rng - Add hw_random interface support")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
> drivers/crypto/qcom-rng.c | 3 ---
> 1 file changed, 3 deletions(-)
>

--
With best wishes
Dmitry