1 /* 2 * Copyright (c) 2021-2023, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef TC_PLAT_H 8 #define TC_PLAT_H 9 10 #ifdef PLATFORM_TEST_ROTPK 11 #include <rss_crypto_defs.h> 12 #endif 13 14 void tc_bl31_common_platform_setup(void); 15 16 #ifdef PLATFORM_TEST_TFM_TESTSUITE 17 int run_platform_tests(void); 18 #endif 19 20 #ifdef PLATFORM_TEST_NV_COUNTERS 21 int nv_counter_test(void); 22 #endif 23 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 33 #endif /* TC_PLAT_H */ 34