[image] Add the "imgtrust" and "imgverify" commands

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-03-22 13:46:38 +00:00
parent 1c127a6962
commit d1465f7b0b
6 changed files with 275 additions and 0 deletions

View File

@@ -250,6 +250,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define ERRFILE_linux_entropy ( ERRFILE_OTHER | 0x00280000 )
#define ERRFILE_x509_test ( ERRFILE_OTHER | 0x00290000 )
#define ERRFILE_cms ( ERRFILE_OTHER | 0x002a0000 )
#define ERRFILE_imgtrust ( ERRFILE_OTHER | 0x002b0000 )
/** @} */

View File

@@ -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 */