blob: e762d15dee9e47546563879a3165220d0f71344d [file] [log] [blame]
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +03001/*
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
18fih_int boot_image_validate(const struct flash_area *fa_p,
19 struct image_header *hdr);
20#endif