Roman Okhrimenko | dc0ca08 | 2023-06-21 20:49:51 +0300 | [diff] [blame^] | 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_int boot_image_validate(const struct flash_area *fa_p, | ||||
19 | struct image_header *hdr); | ||||
20 | #endif |