]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb689f50476265c7d71983a794298a8e5c20ea1c2
tree5916c2fdfb9505d70084a022cc3fd024da23fdb6
parentc4f2f03dd2b808243fb319cac01bc1f2ef0447b4
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