i.MX RT1180 ELE key store: can SYNC without the monotonic-counter flag touch fuses in OEM Open? We are bringing up the EdgeLock Enclave key store on an i.MX RT1180 board (FRDM-IMXRT1186) with the MCUXpresso SDK ele_crypto component. The part is in the OEM Open lifecycle and no fuses are programmed. What we send: 1. Open key store with flags = CREATE only (no SYNC, no monotonic-counter flag, not shared), max updates 0xFFFF. 2. Generate key (persistent, not permanent lifetime) and delete key, each with the SYNC flag (bit 7, 0x80) set and the monotonic-counter flag (bit 5, 0x20) clear. The exported blobs go to external NOR flash. AN14861 describes bit 5 as "monotonic counter increment" and bit 7 as "SYNC operation", but we found no RT1180 document that says SYNC alone never increments a counter. Questions: 1. On the RT1180 in OEM Open, can any of these operations (the CREATE, or a key generate / delete with SYNC but without bit 5) increment an OTP / fuse-backed counter, or have any other irreversible effect (fuse, lifecycle, debug)? 2. Where does the RT1180 keep the key-store monotonic counter (fuses, BBSM, elsewhere)? A pointer to a public document section would be ideal. Thank you! Re: i.MX RT1180 ELE key store: can SYNC without the monotonic-counter flag touch fuses in OEM Open? Hi @arda30 ,
Thanks for your interest in NXP MIMXRT series!
The key distinction is that persisting a key change to external NOR and incrementing the hardware rollback-protection counter are separate operations.
Do these operations increment an OTP/eFuse counter or change the device security state? >> Under the RT1180 B0/C0 command definitions for ELE FW v1.2.0, if the actual requests are Key Store Open with CREATE only and Key Generate/Delete with SYNC only (bit 7 set, bit 5 clear), none of the three operations triggers an increment of the key-store hardware rollback-protection counter. A successful Generate/Delete + SYNC persists the updated key group to external NOR and updates the associated software counters. Programming other OTP fuses, advancing the device lifecycle, and permanently changing the debug configuration are not defined effects of these commands. This answer applies to the commands themselves, not to separate operations that may run during application startup or initialization.
Where is the counter stored? >> The RT1180 ELE guide describes the hardware reference used for the Storage Master rollback check as a fused value and lists zero available fuse bits for the Chip monotonic counter in this version. It does not identify BBSM as the backing store for that HSM counter. The counters updated by SYNC are separate software counters for the key store and key group, persisted with the protected blobs in your external NOR.
For a public reference, see AN14861 Table 7 . The direct references for your commands are UG10192 section 4.4. The guide is available through your NXP FAE or sales representative.
Best regards, Gavin
記事全体を表示