blob: 347fa098fad30ba5f91c8ce54bdff8a7c65ee519 [file] [log] [blame]
Wouter Cappelle953a7612021-05-03 16:53:05 +02001/*
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 */
16int boot_handle_enc_fw();
17
Michael Grand5047f032022-11-24 16:49:56 +010018fih_ret boot_image_validate(const struct flash_area *fa_p,
Wouter Cappelle953a7612021-05-03 16:53:05 +020019 struct image_header *hdr);
20#endif