iPXE
|
Image trust management. More...
#include <ipxe/image.h>
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | imgverify (struct image *image, struct image *signature, const char *name) |
Verify image using downloaded signature. More... | |
Image trust management.
Definition in file imgtrust.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
Verify image using downloaded signature.
image | Image to verify |
signature | Image containing signature |
name | Required common name, or NULL to allow any name |
rc | Return status code |
Definition at line 51 of file imgtrust.c.
References cms_participant::chain, cms_put(), cms_verify(), create_validator(), cms_participant::list, list_for_each_entry, LOG_ERR, LOG_NOTICE, monojob, monojob_wait(), image::name, name, NULL, cms_message::participants, rc, signature, strerror(), and syslog.
Referenced by imgverify_exec().