]> git.baikalelectronics.ru Git - kernel.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)
commit12b726873f6cf2d27cf97f5a96ea9d17c329525b
tree4d0152863efebece8da6ffa9796173fcb67e7702
parent5a8b62a240021a4282950a5a8c25c33e98a8da1c
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