summaryrefslogtreecommitdiffstats
path: root/kernel/module-internal.h
blob: 6114a13419bdc3e7424e82db981131c580f6349c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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 struct key *modsign_keyring;

extern int mod_verify_sig(const void *mod, unsigned long modlen,
			  const void *sig, unsigned long siglen);