android_kernel_samsung_msm8976/kernel/module-internal.h
David Howells 7ce041d7e3 UPSTREAM: KEYS: Separate the kernel signature checking keyring from module signing
Separate the kernel signature checking keyring from module signing so that it
can be used by code other than the module-signing code.

BUG: 27175947

Signed-off-by: David Howells <dhowells@redhat.com>
Change-Id: I38a3809e2ebc663d158efcf0dd40b02f133e3b61
2016-05-18 14:36:10 +05:30

12 lines
458 B
C

/* Module internals
*
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/
extern int mod_verify_sig(const void *mod, unsigned long *_modlen);