Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
8e5a1d5
Copied in psoc filed
michaelthomasj Apr 21, 2020
631ce20
Replaced psoc files with musca_b1 files
Apr 27, 2020
b01808a
Created cmake file for ra6m4 and made changes for ra6m4
Apr 27, 2020
fdc151a
Successful build.
Apr 28, 2020
efd2b64
Removed PPC and MPC
May 11, 2020
4c6a841
Added BSP for RA6M4
May 14, 2020
6d9d7c0
Initial copy from ra6m4
michaelthomasj May 22, 2020
c44396d
Updated driver
michaelthomasj May 24, 2020
b942fa3
added files from ap
michaelthomasj Jun 3, 2020
0d137c3
More changes to get bl2 working
michaelthomasj Jun 8, 2020
77cb804
test update
michaelthomasj Jun 14, 2020
e54ca19
moving to appropriate folder structure
michaelthomasj Jun 16, 2020
19a2ba1
Updates
michaelthomasj Jun 18, 2020
bbb3512
removed header file
michaelthomasj Jun 18, 2020
a1ff592
Added cfg file
michaelthomasj Jun 22, 2020
e2df43d
Made SCI_UART use configurable
michaelthomasj Jun 22, 2020
c45ec39
Added cfg file to more src files
michaelthomasj Jun 23, 2020
e338a01
Updated memory layout
michaelthomasj Jun 30, 2020
e9f3890
Updated flash layout
Jul 4, 2020
43b9c02
Updates for RA6M4
michaelthomasj Jul 7, 2020
d83ab44
Added boot log config header
michaelthomasj Jul 13, 2020
d03d73c
disabled code that is not applicable
michaelthomasj Jul 13, 2020
4b706c8
Added config for dual image
michaelthomasj Jul 15, 2020
f710ac1
made flash area xml configurable
michaelthomasj Jul 16, 2020
72ada55
renamed cfg file
michaelthomasj Jul 17, 2020
e2de802
flash layout update
michaelthomasj Jul 17, 2020
f73cc4f
renamed target folder and deleted duplicates
michaelthomasj Jul 17, 2020
f3d62aa
undo uncrustify
michaelthomasj Jul 17, 2020
1da1c84
more uncrustify
michaelthomasj Jul 17, 2020
622358d
added target/c and h files
michaelthomasj Jul 17, 2020
0ff7c92
undid more unnecessary changes
michaelthomasj Jul 17, 2020
e6835df
more update
michaelthomasj Jul 17, 2020
4dfd933
updated ld file
Jul 17, 2020
da94211
Merge branch 'tfmv1.1' into add-ra6m4-support
Jul 17, 2020
8ec7d78
Mapped all port changes to relevant folders
michaelthomasj Jul 17, 2020
00747d6
more cleanup
michaelthomasj Jul 17, 2020
8336ff2
spacing
michaelthomasj Jul 17, 2020
1f9bf1b
updated files to v1.1
Jul 18, 2020
9a31697
Fixed the issue with unwanted init of PS
Jul 18, 2020
d2d1d22
Fixed the stack size issue
Jul 18, 2020
0786907
Fixed compatibility issue with mbed-crypto 3.1.0
Jul 20, 2020
eb66c84
Comment
michaelthomasj Jul 21, 2020
c92af1e
Updated to use standard uart driver
michaelthomasj Jul 21, 2020
7374813
Fixed error code
michaelthomasj Jul 21, 2020
acf934d
Made more items configurable
michaelthomasj Jul 21, 2020
6d411c5
removed VTOR setting in bootloader. This is done in BSP SystemInit now
michaelthomasj Jul 22, 2020
c4c01cd
whitespace
michaelthomasj Jul 22, 2020
0d08c30
Review comment
michaelthomasj Jul 22, 2020
3f6fe4a
updated to run successfully with crypto
Jul 23, 2020
685b5fc
updated with bsp clock init
Jul 26, 2020
197debb
Removed crypto init for testing
Jul 27, 2020
0ed08b6
Removed unnecessary change
michaelthomasj Jul 28, 2020
c165c35
Merge branch 'ra_tfm_v1_1_bl2_integration' into add_ra_bl2_support
michaelthomasj Jul 28, 2020
89ecf72
Changes to support tfm v1.1
michaelthomasj Jul 29, 2020
754f39e
Added attestation addresses
michaelthomasj Aug 3, 2020
a02f0d3
Added IAR support
michaelthomasj Aug 4, 2020
df6d6b1
Added support for ra6m4 psa test
lavanya-selvaraju Aug 7, 2020
712b9cd
Added support for RTT print and fixed flash issue
Aug 8, 2020
82515b8
Merge remote-tracking branch 'origin/add-ra6m4-support-psa-test' into…
Aug 8, 2020
7c81ae3
Upgraded crypto psa interface files
Aug 10, 2020
c8bfa44
Upgraded crypto psa interface files
Aug 13, 2020
2099bed
Fixed build issue caused by upgrade
Aug 15, 2020
f79c804
Merge branch 'add_ra_bl2_support' into add-ra6m4-support
Aug 15, 2020
0d356fa
Moved target specific files to rm_tfm_port
Aug 16, 2020
417204b
tfm build and run with bsp from fsp
Aug 31, 2020
808b907
Added tfm_common_config.h
Sep 10, 2020
aecbbf7
Added freertos wrapper
Sep 15, 2020
67adb02
Added back uart stdout
Sep 16, 2020
4a48bf0
Made uart debug optional
Sep 18, 2020
b418aad
BL2 update bug fix
Sep 19, 2020
4b5b3f9
Fixed boot data issue
Sep 19, 2020
94c6e86
Created tfm_crypto_include folder and fixed path issue for attestation
Sep 19, 2020
0ed4c0d
Fixed crypto include path issue
Sep 20, 2020
962792f
Reverted unwanted changes
Sep 20, 2020
1c05235
Undid stdout driver changes
michaelthomasj Sep 20, 2020
f8d9cef
space
michaelthomasj Sep 20, 2020
8177481
Changed include path for bl2
michaelthomasj Sep 21, 2020
361e061
Removed unused services
Sep 21, 2020
1bd0fe5
Build without creating lib
Sep 21, 2020
de456f7
Moving psa header files back to original location. They will be mapp…
kjassmann-renesas Sep 25, 2020
ae56632
Reverted unwanted change
Sep 25, 2020
193816b
removed freertos wrapper from app folder
Sep 26, 2020
d5b15fc
Addressed review comments
Sep 26, 2020
51bf867
Merge branch 'arm-tfm-1-2-tip' into renesas-update-1-2
michaelthomasj Apr 8, 2021
1c320ac
delete redundant files
michaelthomasj Apr 8, 2021
329682b
more updates to match previous mods
michaelthomasj Apr 8, 2021
06c2176
renamed main
michaelthomasj Apr 8, 2021
57b48dd
Added inc file
michaelthomasj Apr 8, 2021
d7901b5
Added older manifests
Apr 11, 2021
a30cd6c
TFM built successfully
Apr 11, 2021
1744a07
TFM run successfully
Apr 11, 2021
670e098
use rm_mcuboot app jump
michaelthomasj Apr 12, 2021
e7b3643
rename bl2main
michaelthomasj Apr 12, 2021
3db9cb4
patch #1
renesas-adam-benson Apr 15, 2021
794756a
patch #2
renesas-adam-benson Apr 15, 2021
df6b595
remove unused code to fix warnings
michaelthomasj Apr 21, 2021
92e16df
Merge pull request #5 from renesas/renesas-1-2-security-patch
michaelthomasj Apr 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 5 additions & 39 deletions bl2/ext/mcuboot/bl2_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "flash_map_backend/flash_map_backend.h"
#include "boot_hal.h"
#include "uart_stdout.h"
#include "rm_mcuboot_port.h"

/* Avoids the semihosting issue */
#if defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
Expand All @@ -43,45 +44,9 @@ __asm(" .global __ARM_use_no_argv\n");

/* Static buffer to be used by mbedtls for memory allocation */
static uint8_t mbedtls_mem_buf[BL2_MBEDTLS_MEM_BUF_LEN];
int bl2_main(void);

static void do_boot(struct boot_rsp *rsp)
{
struct boot_arm_vector_table *vt;
uintptr_t flash_base;
int rc;

/* The beginning of the image is the ARM vector table, containing
* the initial stack pointer address and the reset vector
* consecutively. Manually set the stack pointer and jump into the
* reset vector
*/
rc = flash_device_base(rsp->br_flash_dev_id, &flash_base);
assert(rc == 0);

if (rsp->br_hdr->ih_flags & IMAGE_F_RAM_LOAD) {
/* The image has been copied to SRAM, find the vector table
* at the load address instead of image's address in flash
*/
vt = (struct boot_arm_vector_table *)(rsp->br_hdr->ih_load_addr +
rsp->br_hdr->ih_hdr_size);
} else {
/* Using the flash address as not executing in SRAM */
vt = (struct boot_arm_vector_table *)(flash_base +
rsp->br_image_off +
rsp->br_hdr->ih_hdr_size);
}

#if MCUBOOT_LOG_LEVEL > MCUBOOT_LOG_LEVEL_OFF
stdio_uninit();
#endif

/* This function never returns, because it calls the secure application
* Reset_Handler().
*/
boot_platform_quit(vt);
}

int main(void)
int bl2_main(void)
{
struct boot_rsp rsp;
fih_int fih_rc = FIH_FAILURE;
Expand Down Expand Up @@ -118,7 +83,8 @@ int main(void)
BOOT_LOG_INF("Bootloader chainload address offset: 0x%x",
rsp.br_image_off);
BOOT_LOG_INF("Jumping to the first image slot");
do_boot(&rsp);
// do_boot(&rsp);
RM_MCUBOOT_PORT_BootApp(&rsp);

BOOT_LOG_ERR("Never should get here");
FIH_PANIC;
Expand Down
74 changes: 74 additions & 0 deletions bl2/ext/mcuboot/include/mcuboot_config/mcuboot_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/*
* Copyright (c) 2018 Open Source Foundries Limited
* Copyright (c) 2019 Arm Limited
*
* SPDX-License-Identifier: Apache-2.0
*/

/*
* Original code taken from mcuboot project at:
* https://github.com/JuulLabs-OSS/mcuboot
* Git SHA of the original version: ac55554059147fff718015be9f4bd3108123f50a
*/

#ifndef __MCUBOOT_CONFIG_H__
#define __MCUBOOT_CONFIG_H__

#ifdef __cplusplus
extern "C" {
#endif

/*
* This file is also included by the simulator, but we don't want to
* define anything here in simulator builds.
*
* Instead of using mcuboot_config.h, the simulator adds MCUBOOT_xxx
* configuration flags to the compiler command lines based on the
* values of environment variables. However, the file still must
* exist, or bootutil won't build.
*/
#ifndef __BOOTSIM__

/*
* In TF-M most of the configuration flags (e.g. signature type,
* upgrade mode ...) are handled by the CMake-based buildsystem and
* added to the compiler command lines.
*/

/*
* Cryptographic settings
*/
#define MCUBOOT_USE_MBED_TLS

/*
* Logging
*/
#define MCUBOOT_HAVE_LOGGING 1

#endif /* !__BOOTSIM__ */

/*
* Maximum size of the measured boot record.
*
* Its size can be calculated based on the following aspects:
* - There are 5 allowed software component claims,
* - SHA256 is used as the measurement method for the other claims.
* Considering these aspects, the only claim which size can vary is the type
* of the software component with a maximum length of 12 bytes, which means
* the boot record size can be up to 100 bytes.
*/
#define MAX_BOOT_RECORD_SZ (100u)

/*
* Watchdog feeding
*/
#define MCUBOOT_WATCHDOG_FEED() \
do { \
/* Do nothing. */ \
} while (0)

#ifdef __cplusplus
}
#endif

#endif /* __MCUBOOT_CONFIG_H__ */
1 change: 1 addition & 0 deletions bl2/ext/mcuboot/include/mcuboot_config/mcuboot_logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include "bootutil/ignore.h"
#include <stdio.h>
#include "rm_bl2_cfg.h"

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 1 addition & 0 deletions bl2/ext/mcuboot/keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <stddef.h>
#include <bootutil/sign_key.h>
#include "rm_bl2_cfg.h"
#include "mcuboot_config/mcuboot_config.h"
#include "tfm_plat_crypto_keys.h"

Expand Down
1 change: 1 addition & 0 deletions interface/include/psa/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <stddef.h>
#include <stdint.h>

#include "tfm_common_config.h"
#include "psa/error.h"

#ifdef __cplusplus
Expand Down
4 changes: 2 additions & 2 deletions interface/include/psa/crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ psa_status_t psa_hash_compare(psa_algorithm_t alg,
const uint8_t *input,
size_t input_length,
const uint8_t *hash,
size_t hash_length);
const size_t hash_length);

/** The type of the state data structure for multipart hash operations.
*
Expand Down Expand Up @@ -1289,7 +1289,7 @@ psa_status_t psa_mac_verify(psa_key_handle_t handle,
const uint8_t *input,
size_t input_length,
const uint8_t *mac,
size_t mac_length);
const size_t mac_length);

/** The type of the state data structure for multipart MAC operations.
*
Expand Down
38 changes: 38 additions & 0 deletions interface/include/psa_manifest/pid.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* Copyright (c) 2019-2020, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/

/*********** WARNING: This is an auto-generated file. Do not edit! ***********/

#ifndef __PSA_MANIFEST_PID_H__
#define __PSA_MANIFEST_PID_H__

#ifdef __cplusplus
extern "C" {
#endif

#define TFM_SP_PS (256)
#define TFM_SP_ITS (257)
#define TFM_SP_AUDIT_LOG (258)
#define TFM_SP_CRYPTO (259)
#define TFM_SP_PLATFORM (260)
#define TFM_SP_INITIAL_ATTESTATION (261)
#define TFM_SP_CORE_TEST (262)
#define TFM_SP_CORE_TEST_2 (263)
#define TFM_SP_SECURE_TEST_PARTITION (264)
#define TFM_SP_IPC_SERVICE_TEST (265)
#define TFM_SP_IPC_CLIENT_TEST (266)
#define TFM_IRQ_TEST_1 (267)
#define TFM_SP_PS_TEST (268)
#define TFM_SP_SECURE_CLIENT_2 (269)

#define TFM_MAX_USER_PARTITIONS (14)

#ifdef __cplusplus
}
#endif

#endif /* __PSA_MANIFEST_PID_H__ */
143 changes: 143 additions & 0 deletions interface/include/psa_manifest/sid.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
/*
* Copyright (c) 2019-2020, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/

/*********** WARNING: This is an auto-generated file. Do not edit! ***********/

#ifndef __PSA_MANIFEST_SID_H__
#define __PSA_MANIFEST_SID_H__

#ifdef __cplusplus
extern "C" {
#endif

/******** TFM_SP_PS ********/
#define TFM_PS_SET_SID (0x00000060U)
#define TFM_PS_SET_VERSION (1U)
#define TFM_PS_GET_SID (0x00000061U)
#define TFM_PS_GET_VERSION (1U)
#define TFM_PS_GET_INFO_SID (0x00000062U)
#define TFM_PS_GET_INFO_VERSION (1U)
#define TFM_PS_REMOVE_SID (0x00000063U)
#define TFM_PS_REMOVE_VERSION (1U)
#define TFM_PS_GET_SUPPORT_SID (0x00000064U)
#define TFM_PS_GET_SUPPORT_VERSION (1U)

/******** TFM_SP_ITS ********/
#define TFM_ITS_SET_SID (0x00000070U)
#define TFM_ITS_SET_VERSION (1U)
#define TFM_ITS_GET_SID (0x00000071U)
#define TFM_ITS_GET_VERSION (1U)
#define TFM_ITS_GET_INFO_SID (0x00000072U)
#define TFM_ITS_GET_INFO_VERSION (1U)
#define TFM_ITS_REMOVE_SID (0x00000073U)
#define TFM_ITS_REMOVE_VERSION (1U)

/******** TFM_SP_CRYPTO ********/
#define TFM_CRYPTO_SID (0x00000080U)
#define TFM_CRYPTO_VERSION (1U)

/******** TFM_SP_PLATFORM ********/
#define TFM_SP_PLATFORM_SYSTEM_RESET_SID (0x00000040U)
#define TFM_SP_PLATFORM_SYSTEM_RESET_VERSION (1U)
#define TFM_SP_PLATFORM_IOCTL_SID (0x00000041U)
#define TFM_SP_PLATFORM_IOCTL_VERSION (1U)
#define TFM_SP_PLATFORM_NV_COUNTER_SID (0x00000042U)
#define TFM_SP_PLATFORM_NV_COUNTER_VERSION (1U)

/******** TFM_SP_INITIAL_ATTESTATION ********/
#define TFM_ATTEST_GET_TOKEN_SID (0x00000020U)
#define TFM_ATTEST_GET_TOKEN_VERSION (1U)
#define TFM_ATTEST_GET_TOKEN_SIZE_SID (0x00000021U)
#define TFM_ATTEST_GET_TOKEN_SIZE_VERSION (1U)
#define TFM_ATTEST_GET_PUBLIC_KEY_SID (0x00000022U)
#define TFM_ATTEST_GET_PUBLIC_KEY_VERSION (1U)

/******** TFM_SP_CORE_TEST ********/
#define SPM_CORE_TEST_INIT_SUCCESS_SID (0x0000F020U)
#define SPM_CORE_TEST_INIT_SUCCESS_VERSION (1U)
#define SPM_CORE_TEST_DIRECT_RECURSION_SID (0x0000F021U)
#define SPM_CORE_TEST_DIRECT_RECURSION_VERSION (1U)
#define SPM_CORE_TEST_SS_TO_SS_SID (0x0000F024U)
#define SPM_CORE_TEST_SS_TO_SS_VERSION (1U)
#define SPM_CORE_TEST_SS_TO_SS_BUFFER_SID (0x0000F025U)
#define SPM_CORE_TEST_SS_TO_SS_BUFFER_VERSION (1U)
#define SPM_CORE_TEST_OUTVEC_WRITE_SID (0x0000F026U)
#define SPM_CORE_TEST_OUTVEC_WRITE_VERSION (1U)
#define SPM_CORE_TEST_PERIPHERAL_ACCESS_SID (0x0000F027U)
#define SPM_CORE_TEST_PERIPHERAL_ACCESS_VERSION (1U)
#define SPM_CORE_TEST_GET_CALLER_CLIENT_ID_SID (0x0000F028U)
#define SPM_CORE_TEST_GET_CALLER_CLIENT_ID_VERSION (1U)
#define SPM_CORE_TEST_SPM_REQUEST_SID (0x0000F029U)
#define SPM_CORE_TEST_SPM_REQUEST_VERSION (1U)
#define SPM_CORE_TEST_BLOCK_SID (0x0000F02AU)
#define SPM_CORE_TEST_BLOCK_VERSION (1U)
#define SPM_CORE_TEST_NS_THREAD_SID (0x0000F02BU)
#define SPM_CORE_TEST_NS_THREAD_VERSION (1U)

/******** TFM_SP_CORE_TEST_2 ********/
#define SPM_CORE_TEST_2_SLAVE_SERVICE_SID (0x0000F040U)
#define SPM_CORE_TEST_2_SLAVE_SERVICE_VERSION (1U)
#define SPM_CORE_TEST_2_CHECK_CALLER_CLIENT_ID_SID (0x0000F041U)
#define SPM_CORE_TEST_2_CHECK_CALLER_CLIENT_ID_VERSION (1U)
#define SPM_CORE_TEST_2_GET_EVERY_SECOND_BYTE_SID (0x0000F042U)
#define SPM_CORE_TEST_2_GET_EVERY_SECOND_BYTE_VERSION (1U)
#define SPM_CORE_TEST_2_INVERT_SID (0x0000F043U)
#define SPM_CORE_TEST_2_INVERT_VERSION (1U)
#define SPM_CORE_TEST_2_PREPARE_TEST_SCENARIO_SID (0x0000F044U)
#define SPM_CORE_TEST_2_PREPARE_TEST_SCENARIO_VERSION (1U)
#define SPM_CORE_TEST_2_EXECUTE_TEST_SCENARIO_SID (0x0000F045U)
#define SPM_CORE_TEST_2_EXECUTE_TEST_SCENARIO_VERSION (1U)

/******** TFM_SP_SECURE_TEST_PARTITION ********/
#define TFM_SECURE_CLIENT_SFN_RUN_TESTS_SID (0x0000F000U)
#define TFM_SECURE_CLIENT_SFN_RUN_TESTS_VERSION (1U)

/******** TFM_SP_IPC_SERVICE_TEST ********/
#define IPC_SERVICE_TEST_BASIC_SID (0x0000F080U)
#define IPC_SERVICE_TEST_BASIC_VERSION (1U)
#define IPC_SERVICE_TEST_PSA_ACCESS_APP_MEM_SID (0x0000F081U)
#define IPC_SERVICE_TEST_PSA_ACCESS_APP_MEM_VERSION (1U)
#define IPC_SERVICE_TEST_PSA_ACCESS_APP_READ_ONLY_MEM_SID (0x0000F082U)
#define IPC_SERVICE_TEST_PSA_ACCESS_APP_READ_ONLY_MEM_VERSION (1U)
#define IPC_SERVICE_TEST_APP_ACCESS_PSA_MEM_SID (0x0000F083U)
#define IPC_SERVICE_TEST_APP_ACCESS_PSA_MEM_VERSION (1U)
#define IPC_SERVICE_TEST_CLIENT_PROGRAMMER_ERROR_SID (0x0000F084U)
#define IPC_SERVICE_TEST_CLIENT_PROGRAMMER_ERROR_VERSION (1U)

/******** TFM_SP_IPC_CLIENT_TEST ********/
#define IPC_CLIENT_TEST_BASIC_SID (0x0000F060U)
#define IPC_CLIENT_TEST_BASIC_VERSION (1U)
#define IPC_CLIENT_TEST_PSA_ACCESS_APP_MEM_SID (0x0000F061U)
#define IPC_CLIENT_TEST_PSA_ACCESS_APP_MEM_VERSION (1U)
#define IPC_CLIENT_TEST_PSA_ACCESS_APP_READ_ONLY_MEM_SID (0x0000F062U)
#define IPC_CLIENT_TEST_PSA_ACCESS_APP_READ_ONLY_MEM_VERSION (1U)
#define IPC_CLIENT_TEST_APP_ACCESS_PSA_MEM_SID (0x0000F063U)
#define IPC_CLIENT_TEST_APP_ACCESS_PSA_MEM_VERSION (1U)
#define IPC_CLIENT_TEST_MEM_CHECK_SID (0x0000F064U)
#define IPC_CLIENT_TEST_MEM_CHECK_VERSION (1U)
#define IPC_CLIENT_TEST_RETRIEVE_APP_MEM_SID (0x0000F065U)
#define IPC_CLIENT_TEST_RETRIEVE_APP_MEM_VERSION (1U)

/******** TFM_IRQ_TEST_1 ********/
#define SPM_CORE_IRQ_TEST_1_PREPARE_TEST_SCENARIO_SID (0x0000F0A0U)
#define SPM_CORE_IRQ_TEST_1_PREPARE_TEST_SCENARIO_VERSION (1U)
#define SPM_CORE_IRQ_TEST_1_EXECUTE_TEST_SCENARIO_SID (0x0000F0A1U)
#define SPM_CORE_IRQ_TEST_1_EXECUTE_TEST_SCENARIO_VERSION (1U)

/******** TFM_SP_PS_TEST ********/
#define TFM_PS_TEST_PREPARE_SID (0x0000F0C0U)
#define TFM_PS_TEST_PREPARE_VERSION (1U)

/******** TFM_SP_SECURE_CLIENT_2 ********/
#define TFM_SECURE_CLIENT_2_SID (0x0000F0E0U)
#define TFM_SECURE_CLIENT_2_VERSION (1U)

#ifdef __cplusplus
}
#endif

#endif /* __PSA_MANIFEST_SID_H__ */
1 change: 1 addition & 0 deletions interface/include/tfm_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ extern "C" {
#endif

#include <stdint.h>
#include "tfm_common_config.h"
#include "psa/client.h"

#define TFM_INVALID_CLIENT_ID 0
Expand Down
Loading