KEYS: fix big_key dependency
Subsystems (2)
PATCH 1/1 KEYS: fix big_key dependency
--- security/keys/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
security/keys/Kconfig +1 -1
@@ -44,7 +44,7 @@ config BIG_KEYS select CRYPTO select CRYPTO_AES select CRYPTO_ECB - select CRYPTO_RNG + select CRYPTO_ANSI_CPRNG help This option provides support for holding large keys within the kernel (for example Kerberos ticket caches). The data may be stored out to
Signature · 1 line
1.9.1
Am Dienstag, 16. August 2016, 00:45:39 CEST schrieb Kirill Marinushkin:
Hi Kirill,
security/keys/Kconfig config BIG_KEYS · line 47
Quoted 1 line
security/keys/Kconfig +1
-0+ select CRYPTO_ANSI_CPRNG
This change enables the RNG which will not pass FIPS testing any more. Hence, this selection could cause an issue in FIPS mode (i.e. booting the kernel with fips=1).
May I suggest CRYPTO_DRBG?
Ciao
Stephan
PATCH v2 1/1 KEYS: fix big_key dependency
This patch fixes the following bug:
[oss-security] - panic at big_key_preparse #4.7-r6/rc7 & master
--- security/keys/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
security/keys/Kconfig +1 -1
@@ -44,7 +44,7 @@ config BIG_KEYS select CRYPTO select CRYPTO_AES select CRYPTO_ECB - select CRYPTO_RNG + select CRYPTO_RNG_DEFAULT help This option provides support for holding large keys within the kernel (for example Kerberos ticket caches). The data may be stored out to
Signature · 1 line
1.9.1
Quoted 1 line
May I suggest
CRYPTO_DRBG?
Hello Ciao,
Thanks for your proposal. I submitted the PATCH v2 where I use CRYPTO_RNG_DEFAULT the same way it is used in crypto/Kconfig. It solves the issue, too. In addition, it selects CRYPTO_DRBG_MENU, which is a more universal use-case, as I understood from your comment.
Best Regards,
Kirill