[PATCH] crypto: drbg - decrease verbosity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When compiling the DRBG statically into the kernel, the testmgr
allocation of the DRBG may be done at a time the Jitter RNG is
not available. The testmgr instantiates a number of DRBGs for performing
testing which may cause a flurry of logs about unavailable Jitter RNG.
Note, the Jitter RNG is not needed for the testmgr operation anyways.

Signed-off-by: Stephan Mueller <smueller@xxxxxxxxxx>
---
 crypto/drbg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/drbg.c b/crypto/drbg.c
index 7339cc5..3fed67e 100644
--- a/crypto/drbg.c
+++ b/crypto/drbg.c
@@ -1279,7 +1279,7 @@ static inline int drbg_alloc_state(struct drbg_state *drbg)
 	drbg->jent = crypto_alloc_rng("jitterentropy_rng", 0, 0);
 	if(IS_ERR(drbg->jent))
 	{
-		pr_info("DRBG: could not allocate Jitter RNG handle for seeding\n");
+		pr_devel("DRBG: could not allocate Jitter RNG handle for seeding\n");
 		/*
 		 * As the Jitter RNG is a module that may not be present, we
 		 * continue with the operation and do not fully tie the DRBG
-- 
2.4.2


--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux