diff options
Diffstat (limited to 'include/linux/verify_pefile.h')
| -rw-r--r-- | include/linux/verify_pefile.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/verify_pefile.h b/include/linux/verify_pefile.h new file mode 100644 index 000000000000..da2049b5161c --- /dev/null +++ b/include/linux/verify_pefile.h @@ -0,0 +1,22 @@ +/* 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 + +#include <crypto/public_key.h> + +extern int verify_pefile_signature(const void *pebuf, unsigned pelen, + struct key *trusted_keyring, + enum key_being_used_for usage, + bool *_trusted); + +#endif /* _LINUX_VERIFY_PEFILE_H */ |
