]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MODSIGN: Provide Kconfig options
authorDavid Howells <dhowells@redhat.com>
Wed, 26 Sep 2012 09:09:50 +0000 (10:09 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 28 Sep 2012 05:15:00 +0000 (14:45 +0930)
commitf8c91aa435507f193da289bc8afab10cbd9de425
treec2808fd2ab86dc248e4bf3cf36463712a4bb81b8
parentbdf769145cbbd7e8f45b23826c0aca4a82d92ccc
MODSIGN: Provide Kconfig options

Provide kernel configuration options for module signing.

The following configuration options are added:

     CONFIG_MODULE_SIG_SHA1
     CONFIG_MODULE_SIG_SHA224
     CONFIG_MODULE_SIG_SHA256
     CONFIG_MODULE_SIG_SHA384
     CONFIG_MODULE_SIG_SHA512

These select the cryptographic hash used to digest the data prior to signing.
Additionally, the crypto module selected will be built into the kernel as it
won't be possible to load it as a module without incurring a circular
dependency when the kernel tries to check its signature.

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