]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - include/linux/verify_pefile.h
PKCS#7: Appropriately restrict authenticated attributes and content type
[mirror_ubuntu-eoan-kernel.git] / include / linux / verify_pefile.h
index ac34819214f9133c2800f79b3dff7d90562a1573..da2049b5161ce77f17eeff22eabb6c0743640433 100644 (file)
 #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 */