crypto: rng - fix documentation for crypto_rng_alg()
authorOvidiu Panait <ovidiu.panait.oss@gmail.com>
Wed, 30 Apr 2025 11:59:53 +0000 (14:59 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 May 2025 10:20:45 +0000 (18:20 +0800)
commit63ff962c058a0b32a6c512a9fcd5aae11ebcb7e1
tree005482af03a4a49855a304ac732a4879ae7c5482
parent17fd7514ae68c541bf952876ce2005cb4a53f283
crypto: rng - fix documentation for crypto_rng_alg()

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@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/crypto/rng.h