Home
last modified time | relevance | path

Searched hist:"99716 b7cae8263e1c7e7c1987e95d8f67071ab3e" (Results 1 – 2 of 2) sorted by relevance

/linux/certs/
H A DKconfigdiff 99716b7cae8263e1c7e7c1987e95d8f67071ab3e Wed Apr 06 17:14:26 CEST 2016 David Howells <dhowells@redhat.com> KEYS: Make the system trusted keyring depend on the asymmetric key type

Make the system trusted keyring depend on the asymmetric key type as
there's not a lot of point having it if you can't then load asymmetric keys
onto it.

This requires the ASYMMETRIC_KEY_TYPE to be made a bool, not a tristate, as
the Kconfig language doesn't then correctly force ASYMMETRIC_KEY_TYPE to
'y' rather than 'm' if SYSTEM_TRUSTED_KEYRING is 'y'.

Making SYSTEM_TRUSTED_KEYRING *select* ASYMMETRIC_KEY_TYPE instead doesn't
work as the Kconfig interpreter then wrongly complains about dependency
loops.

Signed-off-by: David Howells <dhowells@redhat.com>
/linux/crypto/asymmetric_keys/
H A DKconfigdiff 99716b7cae8263e1c7e7c1987e95d8f67071ab3e Wed Apr 06 17:14:26 CEST 2016 David Howells <dhowells@redhat.com> KEYS: Make the system trusted keyring depend on the asymmetric key type

Make the system trusted keyring depend on the asymmetric key type as
there's not a lot of point having it if you can't then load asymmetric keys
onto it.

This requires the ASYMMETRIC_KEY_TYPE to be made a bool, not a tristate, as
the Kconfig language doesn't then correctly force ASYMMETRIC_KEY_TYPE to
'y' rather than 'm' if SYSTEM_TRUSTED_KEYRING is 'y'.

Making SYSTEM_TRUSTED_KEYRING *select* ASYMMETRIC_KEY_TYPE instead doesn't
work as the Kconfig interpreter then wrongly complains about dependency
loops.

Signed-off-by: David Howells <dhowells@redhat.com>