]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: ecc - Use crypto_stdrng_get_bytes()
authorEric Biggers <ebiggers@kernel.org>
Thu, 26 Mar 2026 00:14:59 +0000 (17:14 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Apr 2026 00:56:12 +0000 (08:56 +0800)
commitd6ea871d73abbb6a1e00e71ed5762e394d06cb2b
tree4735aeadddd8050a9c42a5b94e3b8254bfc3cf59
parent9e9ff291c9776c109a198eab5b5ac3828abf8507
crypto: ecc - 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>
crypto/ecc.c