1 /* PSA lifecycle states used by psasim. */ 2 3 /* 4 * Copyright The Mbed TLS Contributors 5 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 6 */ 7 8 #define PSA_LIFECYCLE_PSA_STATE_MASK (0xff00u) 9 #define PSA_LIFECYCLE_IMP_STATE_MASK (0x00ffu) 10 #define PSA_LIFECYCLE_UNKNOWN (0x0000u) 11 #define PSA_LIFECYCLE_ASSEMBLY_AND_TEST (0x1000u) 12 #define PSA_LIFECYCLE_PSA_ROT_PROVISIONING (0x2000u) 13 #define PSA_LIFECYCLE_SECURED (0x3000u) 14 #define PSA_LIFECYCLE_NON_PSA_ROT_DEBUG (0x4000u) 15 #define PSA_LIFECYCLE_RECOVERABLE_PSA_ROT_DEBUG (0x5000u) 16 #define PSA_LIFECYCLE_DECOMMISSIONED (0x6000u) 17 #define psa_rot_lifecycle_state(void) PSA_LIFECYCLE_UNKNOWN 18