iPXE
|
Image encryption management. More...
#include <ipxe/image.h>
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | imgdecrypt (struct image *image, struct image *envelope, const char *name) |
Decrypt image using downloaded envelope. More... | |
Image encryption management.
Definition in file imgcrypt.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
Decrypt image using downloaded envelope.
image | Image to decrypt |
envelope | Image containing decryption key |
name | Decrypted image name (or NULL to use default) |
rc | Return status code |
Definition at line 47 of file imgcrypt.c.
References cms_decrypt(), cms_put(), LOG_ERR, LOG_NOTICE, image::name, name, NULL, rc, strerror(), and syslog.
Referenced by imgdecrypt_exec().