66 goto err_create_validator;
68 goto err_validator_wait;
struct arbelprm_rc_send_wqe rc
int imgverify(struct image *image, struct image *signature, const char *name)
Verify image using downloaded signature.
int monojob_wait(const char *string, unsigned long timeout)
Wait for single foreground job to complete.
int cms_verify(struct cms_message *cms, struct image *image, const char *name, time_t time, struct x509_chain *store, struct x509_root *root)
Verify CMS signature.
#define LOG_ERR
Error: error conditions.
Access to external ("user") memory.
CMS participant information.
int create_validator(struct interface *job, struct x509_chain *chain, struct x509_root *root)
Instantiate a certificate validator.
#define list_for_each_entry(pos, head, member)
Iterate over entries in a list.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
char * strerror(int errno)
Retrieve string representation of error number.
static void cms_put(struct cms_message *cms)
Drop reference to CMS message.
struct list_head participants
List of participant information blocks.
struct list_head list
List of participant information blocks.
#define syslog(priority, fmt,...)
Write message to system log.
struct x509_chain * chain
Certificate chain.
int64_t time_t
Seconds since the Epoch.
u8 signature
CPU signature.
Cryptographic Message Syntax (PKCS #7)
#define NULL
NULL pointer (VOID *)
#define LOG_NOTICE
Notice: normal but significant conditions.