]> git.ipfire.org Git - thirdparty/linux.git/commit
net: tipc: Use crypto_stdrng_get_bytes()
authorEric Biggers <ebiggers@kernel.org>
Thu, 26 Mar 2026 00:15:03 +0000 (17:15 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Apr 2026 00:56:12 +0000 (08:56 +0800)
commit117c3c4df23d973357a523f6dce1f63d28bbf8aa
tree8c468be405f902d96c3a3c2110c4f783820de661
parenteba92a2d7e51601adae3d3b37df2e5a8a3c0de5b
net: tipc: Use crypto_stdrng_get_bytes()

Replace the sequence of crypto_get_default_rng(),
crypto_rng_get_bytes(), and crypto_put_default_rng() with the equivalent
helper function crypto_stdrng_get_bytes().

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
net/tipc/crypto.c