Re: [PATCH] crypto: rng - fix documentation for crypto_rng_alg()
From: Herbert Xu
Date: Mon May 05 2025 - 08:25:55 EST
On Wed, Apr 30, 2025 at 02:59:53PM +0300, Ovidiu Panait wrote:
> Current documentation states that crypto_rng_alg() returns the cra_name of
> the rng algorithm, but it actually returns a 'struct rng_alg' pointer from
> a RNG handle.
>
> Update documentation to reflect this.
>
> Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@xxxxxxxxx>
> ---
> include/crypto/rng.h | 8 +++-----
> 1 file changed, 3 insertions(+), 5 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt