diff options
| -rw-r--r-- | crypto/Kconfig | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 1db09958eb71..762344202725 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
| @@ -23,11 +23,13 @@ comment "Crypto core or helper" | |||
| 23 | 23 | ||
| 24 | config CRYPTO_FIPS | 24 | config CRYPTO_FIPS |
| 25 | bool "FIPS 200 compliance" | 25 | bool "FIPS 200 compliance" |
| 26 | depends on CRYPTO_ANSI_CPRNG | ||
| 26 | help | 27 | help |
| 27 | This options enables the fips boot option which is | 28 | This options enables the fips boot option which is |
| 28 | required if you want to system to operate in a FIPS 200 | 29 | required if you want to system to operate in a FIPS 200 |
| 29 | certification. You should say no unless you know what | 30 | certification. You should say no unless you know what |
| 30 | this is. | 31 | this is. Note that CRYPTO_ANSI_CPRNG is requred if this |
| 32 | option is selected | ||
| 31 | 33 | ||
| 32 | config CRYPTO_ALGAPI | 34 | config CRYPTO_ALGAPI |
| 33 | tristate | 35 | tristate |
| @@ -787,12 +789,14 @@ comment "Random Number Generation" | |||
| 787 | 789 | ||
| 788 | config CRYPTO_ANSI_CPRNG | 790 | config CRYPTO_ANSI_CPRNG |
| 789 | tristate "Pseudo Random Number Generation for Cryptographic modules" | 791 | tristate "Pseudo Random Number Generation for Cryptographic modules" |
| 792 | default m | ||
| 790 | select CRYPTO_AES | 793 | select CRYPTO_AES |
| 791 | select CRYPTO_RNG | 794 | select CRYPTO_RNG |
| 792 | help | 795 | help |
| 793 | This option enables the generic pseudo random number generator | 796 | This option enables the generic pseudo random number generator |
| 794 | for cryptographic modules. Uses the Algorithm specified in | 797 | for cryptographic modules. Uses the Algorithm specified in |
| 795 | ANSI X9.31 A.2.4 | 798 | ANSI X9.31 A.2.4. Not this option must be enabled if CRYPTO_FIPS |
| 799 | is selected | ||
| 796 | 800 | ||
| 797 | source "drivers/crypto/Kconfig" | 801 | source "drivers/crypto/Kconfig" |
| 798 | 802 | ||
