PSoC64 Secure Boot Utilities Middleware Library 1.0
Macros

General Description

Macros

#define CY_P64_IS_TEST_MODE_SET   ((CY_GET_REG32(CY_P64_SRSS_TEST_MODE_ADDR) & CY_P64_TEST_MODE_MASK) != 0U)
 Verifies if TEST_MODE bit is set in the SRSS_TST_MODE register.
 
#define CY_P64_KEY_SLOT_NA   (0U)
 Invalid key slot number.
 
#define CY_P64_KEY_SLOT_DEVICE_ECDH   (1U)
 Key slot for: Device Private Key ECDH.
 
#define CY_P64_KEY_SLOT_DEVICE_ECDSA   (2U)
 Key slot for: Device Private Key ECDSA.
 
#define CY_P64_KEY_SLOT_CYPRESS   (3U)
 Key slot for: Cypress Public Key.
 
#define CY_P64_KEY_SLOT_HSM   (4U)
 Key slot for: HSM Public Key.
 
#define CY_P64_KEY_SLOT_OEM   (5U)
 Key slot for: OEM Public Key.
 
#define CY_P64_KEY_SLOT_CUSTOM_1   (6U)
 Key slot for: provisioned Custom Public Key #1.
 
#define CY_P64_KEY_SLOT_CUSTOM_2   (7U)
 Key slot for: provisioned Custom Public Key #2.
 
#define CY_P64_KEY_SLOT_CUSTOM_3   (8U)
 Key slot for: provisioned Custom Public Key #3.
 
#define CY_P64_KEY_SLOT_CUSTOM_4   (9U)
 Key slot for: provisioned Custom Public Key #4.
 
#define CY_P64_KEY_SLOT_CUSTOM_5   (10U)
 Key slot for: provisioned Custom Public Key #5.
 
#define CY_P64_KEY_SLOT_DERIVE   (11U)
 Key slot for: AES 256-bit key derived from 128-bit UDS for Key Derivation by cy_p64_psa_key_derivation_key_agreement() API.
 
#define CY_P64_KEY_SLOT_DEVICE_GRP_ECDH   (12U)
 Key slot for: Device Group Key for ECDH Key agreement by cy_p64_psa_key_derivation_key_agreement() API. More...
 
#define CY_P64_KEY_SLOT_STATIC_MAX   (16U)
 The number of keys used by SFB PSA Crypto.
 
#define CY_P64_POLICY_JWT   (0x100U)
 JWT Policy.
 
#define CY_P64_POLICY_TEMPL_BOOT   (0x101U)
 Boot policy template.
 
#define CY_P64_POLICY_TEMPL_DEBUG   (0x102U)
 Debug policy template.
 
#define CY_P64_POLICY_CERTIFICATE   (0x200U)
 Get Certificate command, add a certificate index in the "chain_of_trust" array of the provisioned packet to this macro to get specific certificate.
 
#define CY_P64_POLICY_CERT_INDEX_MASK   (0x0FFu)
 Mask for policy certificate index.
 
#define CY_P64_POLICY_IMG_CERTIFICATE   (0x300U)
 Image certificate.
 

Macro Definition Documentation

◆ CY_P64_KEY_SLOT_DEVICE_GRP_ECDH

#define CY_P64_KEY_SLOT_DEVICE_GRP_ECDH   (12U)

Key slot for: Device Group Key for ECDH Key agreement by cy_p64_psa_key_derivation_key_agreement() API.