Usama Arif | f151362 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 1 | /* |
laurenw-arm | 116f10c | 2023-06-13 16:43:39 -0500 | [diff] [blame] | 2 | * Copyright (c) 2021-2023, Arm Limited and Contributors. All rights reserved. |
Usama Arif | f151362 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef TC_PLAT_H |
| 8 | #define TC_PLAT_H |
| 9 | |
laurenw-arm | 116f10c | 2023-06-13 16:43:39 -0500 | [diff] [blame] | 10 | #ifdef PLATFORM_TEST_ROTPK |
| 11 | #include <rss_crypto_defs.h> |
| 12 | #endif |
| 13 | |
Usama Arif | f151362 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 14 | void tc_bl31_common_platform_setup(void); |
| 15 | |
Tamas Ban | 15b79da | 2023-04-21 09:31:48 +0200 | [diff] [blame] | 16 | #ifdef PLATFORM_TEST_TFM_TESTSUITE |
Sandrine Bailleux | e1da6c4 | 2023-05-05 13:59:07 +0200 | [diff] [blame] | 17 | int run_platform_tests(void); |
Tamas Ban | 15b79da | 2023-04-21 09:31:48 +0200 | [diff] [blame] | 18 | #endif |
Sandrine Bailleux | e1da6c4 | 2023-05-05 13:59:07 +0200 | [diff] [blame] | 19 | |
Tamas Ban | 15b79da | 2023-04-21 09:31:48 +0200 | [diff] [blame] | 20 | #ifdef PLATFORM_TEST_NV_COUNTERS |
Sandrine Bailleux | e1da6c4 | 2023-05-05 13:59:07 +0200 | [diff] [blame] | 21 | int nv_counter_test(void); |
Mate Toth-Pal | 14ba4af | 2022-10-21 14:24:49 +0200 | [diff] [blame] | 22 | #endif |
| 23 | |
laurenw-arm | 116f10c | 2023-06-13 16:43:39 -0500 | [diff] [blame] | 24 | #ifdef PLATFORM_TEST_ROTPK |
| 25 | struct key_id_info { |
| 26 | enum rss_key_id_builtin_t key_id; |
| 27 | const char *key_id_name; |
| 28 | }; |
| 29 | |
| 30 | int rotpk_test(void); |
| 31 | #endif |
| 32 | |
Usama Arif | f151362 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 33 | #endif /* TC_PLAT_H */ |