• David Howells's avatar
    MODSIGN: Extract the blob PKCS#7 signature verifier from module signing · 091f6e26
    David Howells authored
    Extract the function that drives the PKCS#7 signature verification given a
    data blob and a PKCS#7 blob out from the module signing code and lump it with
    the system keyring code as it's generic.  This makes it independent of module
    config options and opens it to use by the firmware loader.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    Cc: Luis R. Rodriguez <mcgrof@suse.com>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Ming Lei <ming.lei@canonical.com>
    Cc: Seth Forshee <seth.forshee@canonical.com>
    Cc: Kyle McMartin <kyle@kernel.org>
    091f6e26
system_keyring.c 3.93 KB