blob: 54f47b93680bfbd2f0c9716274260ff322df0880 [file] [log] [blame]
Kevin Peng62a87112020-07-07 15:07:46 +08001/*
2 * Copyright (c) 2019, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#include "psa_api_test.h"
Øyvind Rønningstad6f2e5b42020-11-09 17:54:51 +01009#ifdef TFM_NS_CLIENT_IDENTIFICATION
Kevin Peng62a87112020-07-07 15:07:46 +080010#include "tfm_nspm_api.h"
Øyvind Rønningstad6f2e5b42020-11-09 17:54:51 +010011#endif /* TFM_NS_CLIENT_IDENTIFICATION */
Kevin Peng62a87112020-07-07 15:07:46 +080012#include "tfm_integ_test.h"
13
14/**
15 * \brief This symbol is the entry point provided by the PSA API compliance
16 * test libraries
17 */
18extern void val_entry(void);
19
20__attribute__((noreturn))
21void psa_api_test(void *arg)
22{
23 UNUSED_VARIABLE(arg);
24
25#ifdef TFM_NS_CLIENT_IDENTIFICATION
26 tfm_nspm_register_client_id();
27#endif /* TFM_NS_CLIENT_IDENTIFICATION */
28
29 val_entry();
30
31 for (;;) {
32 }
33}