Message ID | 1473179547-12101-1-git-send-email-k.marinushkin@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Kirill Marinushkin <k.marinushkin@gmail.com> wrote: > IMO, the preferable fix depends on your future plan. > If you plan to continue using both ANSI X9.31 DRNG and DRBG - I agree with the > patch suggested by Artem Savkov. > If you plan to reduce using ANSI X9.31 DRNG and use DRBG more widely - I > suggest my patch. No such plans, TBH. David -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Sep 06, 2016 at 07:16:13PM +0100, David Howells wrote: > Kirill Marinushkin <k.marinushkin@gmail.com> wrote: > > > IMO, the preferable fix depends on your future plan. > > If you plan to continue using both ANSI X9.31 DRNG and DRBG - I agree with the > > patch suggested by Artem Savkov. > > If you plan to reduce using ANSI X9.31 DRNG and use DRBG more widely - I > > suggest my patch. > > No such plans, TBH. I agre with Kirill here, so if we are not trying to reduce ANSI X9.31 DRNG usage can we move on with the suggested patch, or are there any issues with it that need addressing?
Artem Savkov <asavkov@redhat.com> wrote: > > > IMO, the preferable fix depends on your future plan. > > > If you plan to continue using both ANSI X9.31 DRNG and DRBG - I agree with the > > > patch suggested by Artem Savkov. > > > If you plan to reduce using ANSI X9.31 DRNG and use DRBG more widely - I > > > suggest my patch. > > > > No such plans, TBH. > > I agre with Kirill here, so if we are not trying to reduce ANSI X9.31 > DRNG usage can we move on with the suggested patch, or are there any > issues with it that need addressing? Which suggested patch? One of Kirill's (there are at least two) or yours? Note that we *also* need the "KEYS: Sort out big_key initialisation" patch - just changing the Kconfig is not sufficient a fix in and of itself. David -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Oct 24, 2016 at 03:50:54PM +0100, David Howells wrote: > Artem Savkov <asavkov@redhat.com> wrote: > > > > > IMO, the preferable fix depends on your future plan. > > > > If you plan to continue using both ANSI X9.31 DRNG and DRBG - I agree with the > > > > patch suggested by Artem Savkov. > > > > If you plan to reduce using ANSI X9.31 DRNG and use DRBG more widely - I > > > > suggest my patch. > > > > > > No such plans, TBH. > > > > I agre with Kirill here, so if we are not trying to reduce ANSI X9.31 > > DRNG usage can we move on with the suggested patch, or are there any > > issues with it that need addressing? > > Which suggested patch? One of Kirill's (there are at least two) or yours? I suggest mine, since it is more flexible. > Note that we *also* need the "KEYS: Sort out big_key initialisation" patch - > just changing the Kconfig is not sufficient a fix in and of itself. Right, I see it also changes the Kconfig, so we might be better off with v2 of "KEYS: Sort out big_key initialisation" with "depends on (CRYPTO_ANSI_CPRNG = y || CRYPTO_DRBG = y)" in Kconfig.
Artem Savkov <asavkov@redhat.com> wrote: > > Which suggested patch? One of Kirill's (there are at least two) or yours? > > I suggest mine, since it is more flexible. Fine by me. > > Note that we *also* need the "KEYS: Sort out big_key initialisation" patch - > > just changing the Kconfig is not sufficient a fix in and of itself. > > Right, I see it also changes the Kconfig No, it doesn't. It only changes big_key.c David -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/security/keys/Kconfig b/security/keys/Kconfig index f826e87..5bc5114 100644 --- a/security/keys/Kconfig +++ b/security/keys/Kconfig @@ -44,7 +44,7 @@ config BIG_KEYS select CRYPTO select CRYPTO_AES select CRYPTO_ECB - select CRYPTO_RNG + select CRYPTO_RNG_DEFAULT -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html