]> 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)
commit25c91f509acd16e5876f6c60e793646ab2df1a1a
tree4d0152863efebece8da6ffa9796173fcb67e7702
parent60c60100f58373ac8ca384eadf3a0223f25bcce2
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