blob: a6b2b0dff2df2b77c91fe60e5d35575e180f4b36 [file] [log] [blame]
Usama Ariff1513622021-04-09 17:07:41 +01001/*
laurenw-arm116f10c2023-06-13 16:43:39 -05002 * Copyright (c) 2021-2023, Arm Limited and Contributors. All rights reserved.
Usama Ariff1513622021-04-09 17:07:41 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef TC_PLAT_H
8#define TC_PLAT_H
9
laurenw-arm116f10c2023-06-13 16:43:39 -050010#ifdef PLATFORM_TEST_ROTPK
11#include <rss_crypto_defs.h>
12#endif
13
Usama Ariff1513622021-04-09 17:07:41 +010014void tc_bl31_common_platform_setup(void);
15
Tamas Ban15b79da2023-04-21 09:31:48 +020016#ifdef PLATFORM_TEST_TFM_TESTSUITE
Sandrine Bailleuxe1da6c42023-05-05 13:59:07 +020017int run_platform_tests(void);
Tamas Ban15b79da2023-04-21 09:31:48 +020018#endif
Sandrine Bailleuxe1da6c42023-05-05 13:59:07 +020019
Tamas Ban15b79da2023-04-21 09:31:48 +020020#ifdef PLATFORM_TEST_NV_COUNTERS
Sandrine Bailleuxe1da6c42023-05-05 13:59:07 +020021int nv_counter_test(void);
Mate Toth-Pal14ba4af2022-10-21 14:24:49 +020022#endif
23
laurenw-arm116f10c2023-06-13 16:43:39 -050024#ifdef PLATFORM_TEST_ROTPK
25struct key_id_info {
26 enum rss_key_id_builtin_t key_id;
27 const char *key_id_name;
28};
29
30int rotpk_test(void);
31#endif
32
Usama Ariff1513622021-04-09 17:07:41 +010033#endif /* TC_PLAT_H */