crypto: drbg - Add select on sha256
[firefly-linux-kernel-4.4.55.git] / crypto / Kconfig
index cb7806f31c372510bb584a912b4801d41da48b6e..f6fc054eb2d1915027b85be745212922e8f0c415 100644 (file)
@@ -1508,10 +1508,11 @@ config CRYPTO_DRBG_HMAC
        bool
        default y
        select CRYPTO_HMAC
+       select CRYPTO_SHA256
 
 config CRYPTO_DRBG_HASH
        bool "Enable Hash DRBG"
-       select CRYPTO_HASH
+       select CRYPTO_SHA256
        help
          Enable the Hash DRBG variant as defined in NIST SP800-90A.