summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/verify_pefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/verify_pefile.h')
-rw-r--r--kernel/include/linux/verify_pefile.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/include/linux/verify_pefile.h b/kernel/include/linux/verify_pefile.h
index ac3481921..da2049b51 100644
--- a/kernel/include/linux/verify_pefile.h
+++ b/kernel/include/linux/verify_pefile.h
@@ -12,7 +12,11 @@
#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, bool *_trusted);
+ struct key *trusted_keyring,
+ enum key_being_used_for usage,
+ bool *_trusted);
#endif /* _LINUX_VERIFY_PEFILE_H */