xref: /openbmc/qemu/hw/core/eif.h (revision 7d87775f)
1 /*
2  * EIF (Enclave Image Format) related helpers
3  *
4  * Copyright (c) 2024 Dorjoy Chowdhury <dorjoychy111@gmail.com>
5  *
6  * This work is licensed under the terms of the GNU GPL, version 2 or
7  * (at your option) any later version.  See the COPYING file in the
8  * top-level directory.
9  */
10 
11 #ifndef HW_CORE_EIF_H
12 #define HW_CORE_EIF_H
13 
14 bool read_eif_file(const char *eif_path, const char *machine_initrd,
15                    char **kernel_path, char **initrd_path,
16                    char **kernel_cmdline, uint8_t *image_sha384,
17                    uint8_t *bootstrap_sha384, uint8_t *app_sha384,
18                    uint8_t *fingerprint_sha384, bool *signature_found,
19                    Error **errp);
20 
21 #endif
22 
23