Clarification needed on Maximum number of Keyslots supported in NXP S32K388 micro Hello Team, We needed some clarification on the maximum supported keyslot number for S32K388 device. We integrated the following RTD 701 QLP04_D2608 and find that is limit of 5 SHE group( 1 group map to 10key) i.e. a total of 50 Key slots. Is this a limitation from HSE ? We have a requirement to enable 100 key slots, so in this case would like to understand if there a possibility to configure more key slots. Thanks! Nimsha Re: Clarification needed on Maximum number of Keyslots supported in NXP S32K388 micro Hi @Nimsha
This is a limitation defined by the HSE firmware itself, rather than by the RTD implementation.
As stated in Sections 6.3.2 and 6.3.3 of the HSE-B Firmware Reference Manual, Rev. 2.8, SHE keys in the NVM key catalog can be mapped to Group 0, which contains 10 key slots. In addition, HSE allows the application to provision extra AES-128 SHE keys using the SHE key update protocol (referred to as extended SHE keys), which can be mapped to Groups 1 through 4, with 10 slots available in each group. This provides a total of 50 SHE key slots, as you noted.
According to the reference manual, the NVM SHE Key Catalog configuration is as follows:
Row 0: MASTER_ECU_KEY, BOOT_MAC_KEY, KEY_1 to KEY_10
Row 1: KEY_11 to KEY_20
Row 2: KEY_21 to KEY_30
Row 3: KEY_31 to KEY_40
Row 4: KEY_41 to KEY_50
hseKeyGroupCfgEntry_t NVM_key_catalog[] = {
/* SHE keys */
{ HSE_MU0_MASK, HSE_KEY_OWNER_ANY, HSE_KEY_TYPE_SHE, 12U, HSE_KEY128_BITS}, /* MASTER_ECU_KEY, BOOT_MAC_KEY, KEY_1 to KEY_10 */
{ HSE_MU0_MASK, HSE_KEY_OWNER_ANY, HSE_KEY_TYPE_SHE, 10U, HSE_KEY128_BITS}, /* KEY_11 to KEY_20 */
{ HSE_MU0_MASK, HSE_KEY_OWNER_ANY, HSE_KEY_TYPE_SHE, 10U, HSE_KEY128_BITS}, /* KEY_21 to KEY_30 */
{ HSE_MU0_MASK, HSE_KEY_OWNER_ANY, HSE_KEY_TYPE_SHE, 10U, HSE_KEY128_BITS}, /* KEY_31 to KEY_40 */
{ HSE_MU0_MASK, HSE_KEY_OWNER_ANY, HSE_KEY_TYPE_SHE, 10U, HSE_KEY128_BITS}, /* KEY_41 to KEY_50 */
{ 0U, 0U, 0U, 0U, 0U }
};
The reference manual also states that attempting to map SHE keys to Group 5 or higher will result in an error during the key catalog formatting operation.
BR, VaneB Re: Clarification needed on Maximum number of Keyslots supported in NXP S32K388 micro Hi @Nimsha
These specifications apply to the standard HSE Firmware. However, premium HSE Firmware variants (available as a paid licensed product) can be tailored to address specific customer requirements and use cases.
I have sent you a private message with further details. Re: Clarification needed on Maximum number of Keyslots supported in NXP S32K388 micro Hi @VaneB Thank you for the reply. We find that GM OEM has specific requirement to enable the 100 Keyslots. Is this limitation known to GM. Since you have mentioned that HSE FW is currently supporting only 50Key slots, could you please let me know any future Firmware version the 100 keyslots are supported. Thanks! Nimsha
View full article