[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090205050150.GA22749@gondor.apana.org.au>
Date: Thu, 5 Feb 2009 16:01:50 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Neil Horman <nhorman@...driver.com>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: Force panic on continuous CPRNG test failure
when in FIPS mode
On Wed, Jan 28, 2009 at 07:58:48AM -0500, Neil Horman wrote:
>
> FIPS 140-2 specifies that all access to various cryptographic modules be
> prevented in the event that any of the provided self tests fail on the various
> implemented algorithms. We already panic when any of the test in testmgr.c
> fail when we are operating in fips mode. The continuous test in the cprng here
> was missed when that was implmented. This code simply checks for the
> fips_enabled flag if the test fails, and warns us via syslog or panics the box
> accordingly.
>
> Signed-off-by: Neil Horman <nhorman@...driver.com>
Patch applied. Thanks Neil.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists