]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: drbg - remove unnecessary sanity check for shadow state
authorStephan Mueller <smueller@chronox.de>
Sun, 17 Aug 2014 15:41:38 +0000 (17:41 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 25 Aug 2014 12:34:14 +0000 (20:34 +0800)
commitdfaa231113792f8f23d157203d86a6d6a3f7de43
treee8364a6ea136520e0ba1a80eb4138bcc85f4ce9f
parentb8b6dd36c1056df362e5ab97990642c85ae646c6
crypto: drbg - remove unnecessary sanity check for shadow state

During creation of the DRBG shadow state, it is ensured that the DRBG
state structure is already allocated. Thus, a sanity check for verifying
that the structure is allocated is removed.

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