1 /*
2  * SPDX-License-Identifier: Apache-2.0
3  *
4  * Copyright (c) 2021-2021 Crodeon Technologies
5  *
6  */
7 
8 #ifndef H_SINGLE_LOADER_
9 #define H_SINGLE_LOADER_
10 #include "bootutil/fault_injection_hardening.h"
11 
12 /**
13  * Handle an encrypted firmware in the main flash.
14  * This will decrypt the image inplace
15  */
16 int boot_handle_enc_fw();
17 
18 fih_ret boot_image_validate(const struct flash_area *fa_p,
19                     struct image_header *hdr);
20 #endif
21