mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 02:28:57 +03:00
[image] Add the "imgtrust" and "imgverify" commands
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 )
|
||||
|
||||
/** @} */
|
||||
|
||||
|
||||
17
src/include/usr/imgtrust.h
Normal file
17
src/include/usr/imgtrust.h
Normal 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 */
|
||||
Reference in New Issue
Block a user