]> git.karo-electronics.de Git - linux-beck.git/commit
crypto: drbg - Use Kconfig to ensure at least one RNG option is set
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Jul 2014 14:15:08 +0000 (22:15 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Jul 2014 14:15:08 +0000 (22:15 +0800)
commitf2c89a10de4fd123a3d15223d26994f2fe1b95d8
tree4d0152863efebece8da6ffa9796173fcb67e7702
parent8c98716601bc05091ff49aa8ebf5299a0c6604a0
crypto: drbg - Use Kconfig to ensure at least one RNG option is set

This patch removes the build-time test that ensures at least one RNG
is set.  Instead we will simply not build drbg if no options are set
through Kconfig.

This also fixes a typo in the name of the Kconfig option CRYTPO_DRBG
(should be CRYPTO_DRBG).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/drbg.c