diff options
author | Michael Brown | 2012-03-22 14:46:38 +0100 |
---|---|---|
committer | Michael Brown | 2012-03-25 01:11:43 +0100 |
commit | d1465f7b0b4e3df4af1abf65462fe1d89e53a80a (patch) | |
tree | 603e3d9c50ed2fc089cfb83353404e29f46c1dcc /src/include/usr | |
parent | [image] Simplify image management commands and internal API (diff) | |
download | ipxe-d1465f7b0b4e3df4af1abf65462fe1d89e53a80a.tar.gz ipxe-d1465f7b0b4e3df4af1abf65462fe1d89e53a80a.tar.xz ipxe-d1465f7b0b4e3df4af1abf65462fe1d89e53a80a.zip |
[image] Add the "imgtrust" and "imgverify" commands
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/imgtrust.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/usr/imgtrust.h b/src/include/usr/imgtrust.h new file mode 100644 index 00000000..f47105af --- /dev/null +++ b/src/include/usr/imgtrust.h @@ -0,0 +1,17 @@ +#ifndef _USR_IMGTRUST_H +#define _USR_IMGTRUST_H + +/** @file + * + * Image trust management + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#include <ipxe/image.h> + +extern int imgverify ( struct image *image, struct image *signature, + const char *name ); + +#endif /* _USR_IMGTRUST_H */ |