[PATCH 11/38] crypto: drbg - Remove import of crypto_cipher functions

From: Eric Biggers

Date: Mon Apr 20 2026 - 02:41:25 EST


The inclusion of <crypto/internal/cipher.h> and the import of the
internal crypto namespace became unnecessary in commit ba0570bdf1d9
("crypto: drbg - Replace AES cipher calls with library calls").

Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
---
crypto/drbg.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/crypto/drbg.c b/crypto/drbg.c
index fd1d75addaf7..9dedc6186b42 100644
--- a/crypto/drbg.c
+++ b/crypto/drbg.c
@@ -91,11 +91,10 @@
* -------------------------------------------------------------
* Just mix both scenarios above.
*/

#include <crypto/df_sp80090a.h>
-#include <crypto/internal/cipher.h>
#include <crypto/internal/drbg.h>
#include <crypto/internal/rng.h>
#include <crypto/hash.h>
#include <crypto/skcipher.h>
#include <linux/fips.h>
@@ -1906,6 +1905,5 @@ MODULE_DESCRIPTION("NIST SP800-90A Deterministic Random Bit Generator (DRBG) "
"using following cores: "
CRYPTO_DRBG_HASH_STRING
CRYPTO_DRBG_HMAC_STRING
CRYPTO_DRBG_CTR_STRING);
MODULE_ALIAS_CRYPTO("stdrng");
-MODULE_IMPORT_NS("CRYPTO_INTERNAL");
--
2.53.0