Mistake on this page?
Report an issue in GitHub or email us
tfm_spm_signal_defs.h
1 /*
2  * Copyright (c) 2018-2019, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 /*******************************************************************************
9  * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10  * THIS FILE IS AN AUTO-GENERATED FILE - DO NOT MODIFY IT.
11  * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12  * Template Version 1.0
13  * Generated by tools/psa/generate_partition_code.py Version 1.1
14  ******************************************************************************/
15 
16 #ifndef __TFM_SPM_SIGNAL_DEFS_H__
17 #define __TFM_SPM_SIGNAL_DEFS_H__
18 
19 /*************************** Service Partitions *******************************/
20 /* -----------------------------------------------------------------------------
21  * ATTEST_SRV Signals
22  * -------------------------------------------------------------------------- */
23 #define PSA_ATTEST_GET_TOKEN_POS (4UL)
24 #define PSA_ATTEST_GET_TOKEN (1UL << PSA_ATTEST_GET_TOKEN_POS)
25 #define PSA_ATTEST_GET_TOKEN_SIZE_POS (5UL)
26 #define PSA_ATTEST_GET_TOKEN_SIZE (1UL << PSA_ATTEST_GET_TOKEN_SIZE_POS)
27 #define PSA_ATTEST_INJECT_KEY_POS (6UL)
28 #define PSA_ATTEST_INJECT_KEY (1UL << PSA_ATTEST_INJECT_KEY_POS)
29 
30 /* -----------------------------------------------------------------------------
31  * CRYPTO_SRV Signals
32  * -------------------------------------------------------------------------- */
33 #define PSA_CRYPTO_INIT_POS (4UL)
34 #define PSA_CRYPTO_INIT (1UL << PSA_CRYPTO_INIT_POS)
35 #define PSA_MAC_POS (5UL)
36 #define PSA_MAC (1UL << PSA_MAC_POS)
37 #define PSA_HASH_POS (6UL)
38 #define PSA_HASH (1UL << PSA_HASH_POS)
39 #define PSA_ASYMMETRIC_POS (7UL)
40 #define PSA_ASYMMETRIC (1UL << PSA_ASYMMETRIC_POS)
41 #define PSA_SYMMETRIC_POS (8UL)
42 #define PSA_SYMMETRIC (1UL << PSA_SYMMETRIC_POS)
43 #define PSA_AEAD_POS (9UL)
44 #define PSA_AEAD (1UL << PSA_AEAD_POS)
45 #define PSA_KEY_MNG_POS (10UL)
46 #define PSA_KEY_MNG (1UL << PSA_KEY_MNG_POS)
47 #define PSA_RNG_POS (11UL)
48 #define PSA_RNG (1UL << PSA_RNG_POS)
49 #define PSA_CRYPTO_FREE_POS (12UL)
50 #define PSA_CRYPTO_FREE (1UL << PSA_CRYPTO_FREE_POS)
51 #define PSA_KEY_DERIVATION_POS (13UL)
52 #define PSA_KEY_DERIVATION (1UL << PSA_KEY_DERIVATION_POS)
53 #define PSA_ENTROPY_INJECT_POS (14UL)
54 #define PSA_ENTROPY_INJECT (1UL << PSA_ENTROPY_INJECT_POS)
55 
56 /* -----------------------------------------------------------------------------
57  * PLATFORM Signals
58  * -------------------------------------------------------------------------- */
59 #define PSA_PLATFORM_LC_GET_MSK_POS (4UL)
60 #define PSA_PLATFORM_LC_GET_MSK (1UL << PSA_PLATFORM_LC_GET_MSK_POS)
61 #define PSA_PLATFORM_LC_SET_MSK_POS (5UL)
62 #define PSA_PLATFORM_LC_SET_MSK (1UL << PSA_PLATFORM_LC_SET_MSK_POS)
63 #define PSA_PLATFORM_SYSTEM_RESET_MSK_POS (6UL)
64 #define PSA_PLATFORM_SYSTEM_RESET_MSK (1UL << PSA_PLATFORM_SYSTEM_RESET_MSK_POS)
65 
66 /* -----------------------------------------------------------------------------
67  * ITS Signals
68  * -------------------------------------------------------------------------- */
69 #define PSA_ITS_GET_MSK_POS (4UL)
70 #define PSA_ITS_GET_MSK (1UL << PSA_ITS_GET_MSK_POS)
71 #define PSA_ITS_SET_MSK_POS (5UL)
72 #define PSA_ITS_SET_MSK (1UL << PSA_ITS_SET_MSK_POS)
73 #define PSA_ITS_INFO_MSK_POS (6UL)
74 #define PSA_ITS_INFO_MSK (1UL << PSA_ITS_INFO_MSK_POS)
75 #define PSA_ITS_REMOVE_MSK_POS (7UL)
76 #define PSA_ITS_REMOVE_MSK (1UL << PSA_ITS_REMOVE_MSK_POS)
77 #define PSA_ITS_RESET_MSK_POS (8UL)
78 #define PSA_ITS_RESET_MSK (1UL << PSA_ITS_RESET_MSK_POS)
79 
80 /*************************** Test Partitions **********************************/
81 #ifdef USE_PSA_TEST_PARTITIONS
82 
83 #ifdef USE_CRYPTO_ACL_TEST
84 /* -----------------------------------------------------------------------------
85  * CRYPTO_ACL_TEST Signals
86  * -------------------------------------------------------------------------- */
87 #define CRYPTO_GENERATE_KEY_MSK_POS (4UL)
88 #define CRYPTO_GENERATE_KEY_MSK (1UL << CRYPTO_GENERATE_KEY_MSK_POS)
89 #define CRYPTO_OPEN_KEY_MSK_POS (5UL)
90 #define CRYPTO_OPEN_KEY_MSK (1UL << CRYPTO_OPEN_KEY_MSK_POS)
91 #define CRYPTO_CLOSE_KEY_MSK_POS (6UL)
92 #define CRYPTO_CLOSE_KEY_MSK (1UL << CRYPTO_CLOSE_KEY_MSK_POS)
93 #define CRYPTO_DESTROY_KEY_MSK_POS (7UL)
94 #define CRYPTO_DESTROY_KEY_MSK (1UL << CRYPTO_DESTROY_KEY_MSK_POS)
95 #define CRYPTO_GET_KEY_ATTRIBUTES_MSK_POS (8UL)
96 #define CRYPTO_GET_KEY_ATTRIBUTES_MSK (1UL << CRYPTO_GET_KEY_ATTRIBUTES_MSK_POS)
97 #define CRYPTO_IMPORT_KEY_MSK_POS (9UL)
98 #define CRYPTO_IMPORT_KEY_MSK (1UL << CRYPTO_IMPORT_KEY_MSK_POS)
99 #endif // USE_CRYPTO_ACL_TEST
100 
101 #ifdef USE_CLIENT_TESTS_PART1
102 /* -----------------------------------------------------------------------------
103  * CLIENT_TESTS_PART1 Signals
104  * -------------------------------------------------------------------------- */
105 #define PART1_ROT_SRV1_MSK_POS (4UL)
106 #define PART1_ROT_SRV1_MSK (1UL << PART1_ROT_SRV1_MSK_POS)
107 #define DROP_CONN_MSK_POS (5UL)
108 #define DROP_CONN_MSK (1UL << DROP_CONN_MSK_POS)
109 #define SECURE_CLIENTS_ONLY_MSK_POS (6UL)
110 #define SECURE_CLIENTS_ONLY_MSK (1UL << SECURE_CLIENTS_ONLY_MSK_POS)
111 #endif // USE_CLIENT_TESTS_PART1
112 
113 #ifdef USE_SERVER_TESTS_PART1
114 /* -----------------------------------------------------------------------------
115  * SERVER_TESTS_PART1 Signals
116  * -------------------------------------------------------------------------- */
117 #define CONTROL_MSK_POS (4UL)
118 #define CONTROL_MSK (1UL << CONTROL_MSK_POS)
119 #define TEST_MSK_POS (5UL)
120 #define TEST_MSK (1UL << TEST_MSK_POS)
121 #endif // USE_SERVER_TESTS_PART1
122 
123 #ifdef USE_SERVER_TESTS_PART2
124 /* -----------------------------------------------------------------------------
125  * SERVER_TESTS_PART2 Signals
126  * -------------------------------------------------------------------------- */
127 #define ROT_SRV_REVERSE_MSK_POS (4UL)
128 #define ROT_SRV_REVERSE_MSK (1UL << ROT_SRV_REVERSE_MSK_POS)
129 #define ROT_SRV_DB_TST_MSK_POS (5UL)
130 #define ROT_SRV_DB_TST_MSK (1UL << ROT_SRV_DB_TST_MSK_POS)
131 #endif // USE_SERVER_TESTS_PART2
132 
133 #ifdef USE_SMOKE_TESTS_PART1
134 /* -----------------------------------------------------------------------------
135  * SMOKE_TESTS_PART1 Signals
136  * -------------------------------------------------------------------------- */
137 #define ROT_SRV1_MSK_POS (4UL)
138 #define ROT_SRV1_MSK (1UL << ROT_SRV1_MSK_POS)
139 #endif // USE_SMOKE_TESTS_PART1
140 
141 #endif // USE_PSA_TEST_PARTITIONS
142 
143 #endif // __TFM_SPM_SIGNAL_DEFS_H__
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.