swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: 1f93e4a96c9109378204c147b3eec0d0e8100fde authored by Linus Torvalds on 20 September 2015, 21:32:34 UTC
Linux 4.3-rc2
Tip revision: 1f93e4a
verify_pefile.h
/* 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 */
back to top