Can KEY_DH_OPERATIONS become tristate? (was: Re: Kernel 5.3.0 stuck during boot on Amiga)

David Howells dhowells at redhat.com
Wed Sep 18 15:54:17 UTC 2019


Geert Uytterhoeven <geert at linux-m68k.org> wrote:

> CC crypto keys people
> 
> TL;DR: CONFIG_CRYPTO_DH=y is reported to cause boot delays of several
> minutes on old and slow machines.

Why is it doing that?  It doesn't do anything unless it is called, so
something must be calling it.

> Can KEY_DH_OPERATIONS be made tristate?

Um.  It's non-trivial since it's implementing a keyctl() function for
userspace to call and there's currently no ops table to jump through.

David



More information about the Linux-security-module-archive mailing list