crypto: drbg - remove check for uninitialized DRBG handle
authorStephan Mueller <smueller@chronox.de>
Mon, 1 Sep 2014 05:11:20 +0000 (07:11 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 5 Sep 2014 07:56:43 +0000 (15:56 +0800)
commit78f543a93473f67a1035949a293b79288e259b6e
tree5916c2fdfb9505d70084a022cc3fd024da23fdb6
parentfb38ab4cd05e11184fd2c3ef916fa106ecc505fc
crypto: drbg - remove check for uninitialized DRBG handle

The drbg_healthcheck() contained a test to call the DRBG with an
uninitialized DRBG cipher handle. As this is an inappropriate use of the
kernel crypto API to try to generate random numbers before
initialization, checks verifying for an initialized DRBG have been
removed in previous patches.

Now, the drbg_healthcheck test must also be removed.

Changes V2: Added patch marker to email subject line.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/drbg.c