Mbed OS Reference
Loading...
Searching...
No Matches
attestation_bootloader_data.h
1/*
2* Copyright (c) 2018-2019 ARM Limited. All rights reserved.
3*
4* SPDX-License-Identifier: Apache-2.0
5*
6* Licensed under the Apache License, Version 2.0 (the License); you may
7* not use this file except in compliance with the License.
8* You may obtain a copy of the License at
9*
10* http://www.apache.org/licenses/LICENSE-2.0
11*
12* Unless required by applicable law or agreed to in writing, software
13* distributed under the License is distributed on an AS IS BASIS, WITHOUT
14* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15* See the License for the specific language governing permissions and
16* limitations under the License.
17*/
18
19#ifndef __ATTESTATION_BOOTLOADER_DATA_H__
20#define __ATTESTATION_BOOTLOADER_DATA_H__
21
22#include <stdint.h>
23#include <stddef.h>
24
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30/* Temp Shared data area between bootloader and runtime firmware */
31extern const uint8_t temp_ram_page_data[];
32
33#define S_RAM_ALIAS_BASE (temp_ram_page_data)
34
35#define BOOT_TFM_SHARED_DATA_BASE S_RAM_ALIAS_BASE
36
37extern const uint8_t impl_id_data[];
38
39/* Example verification service URL for initial attestation token - temporary data*/
40static const char verification_service_url[] = "www.mbed.com";
41/* Example profile definition document for initial attestation token - temporary data*/
42static const char attestation_profile_definition[] = "psa-attest.md";
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif /* __ATTESTATION_BOOTLOADER_DATA_H__ */