]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: drbg - Remove unhelpful helper functions
authorEric Biggers <ebiggers@kernel.org>
Mon, 20 Apr 2026 06:33:52 +0000 (23:33 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 7 May 2026 08:09:59 +0000 (16:09 +0800)
commit06dc3f01e789cdad4d99b99eba35acb26d227f53
tree3192e4978319b906f5f5446ab83024758d847d74
parent1c4f7235112934232975e6ed08a896a4caa71dd9
crypto: drbg - Remove unhelpful helper functions

Fold the contents of the inline functions crypto_drbg_get_bytes_addtl(),
crypto_drbg_get_bytes_addtl_test(), and crypto_drbg_reset_test() into
their only caller in drbg_cavs_test().  It ends up being much simpler.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/drbg.c
crypto/testmgr.c
include/crypto/drbg.h