Lines Matching defs:path
336 * @path: Path to a capsule file
341 * a file whose file name is @path with ".p7" suffix.
347 static int dump_signature(const char *path, uint8_t *signature, size_t sig_size)
354 sig_path = malloc(strlen(path) + 3 + 1);
358 sprintf(sig_path, "%s.p7", path);
387 * @path: Path to a created capsule file
406 static int create_fwbin(char *path, char *bin, efi_guid_t *guid,
424 fprintf(stderr, "For output: %s\n", path);
472 dump_signature(path, auth_context.sig_data,
482 f = fopen(path, "w");
484 fprintf(stderr, "cannot open %s\n", path);
608 static int create_empty_capsule(char *path, efi_guid_t *guid, bool fw_accept)
617 f = fopen(path, "w");
619 fprintf(stderr, "cannot open %s\n", path);