Wouter Cappelle | 953a761 | 2021-05-03 16:53:05 +0200 | [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 | |
Michael Grand | 5047f03 | 2022-11-24 16:49:56 +0100 | [diff] [blame] | 18 | fih_ret boot_image_validate(const struct flash_area *fa_p, |
Wouter Cappelle | 953a761 | 2021-05-03 16:53:05 +0200 | [diff] [blame] | 19 | struct image_header *hdr); |
| 20 | #endif |