summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/verify_pefile.h
blob: ac34819214f9133c2800f79b3dff7d90562a1573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Signed PE file verification
 *
 * Copyright (C) 2014 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.
 */

#ifndef _LINUX_VERIFY_PEFILE_H
#define _LINUX_VERIFY_PEFILE_H

extern int verify_pefile_signature(const void *pebuf, unsigned pelen,
				   struct key *trusted_keyring, bool *_trusted);

#endif /* _LINUX_VERIFY_PEFILE_H */