Tool/software:
Hi TI,
1. In hs_security_early_init_hsm, if sa2ul_enable_all_engines is called, the HSM stops receiving interrupts. If it’s not called, interrupts work fine. Why does this happen?
2. After calling sa2ul_hash_dmsc from the HSM side, the HSM no longer receives interrupts. What’s causing this?
3. In the sa2ul_crypto_unittest test case, why is mask_interrupts() called at the start without a corresponding unmask later?
4. The AES engine’s KEK mode isn’t working correctly. In the Care Package code, the register settings in aes_restore_context don’t fully match the K3 Security Hardware Architecture document (page 1061). Is this an incomplete feature, or are there missing dependencies/initialization steps?
5. Regarding the TRNG module: it was mentioned before that it’s occupied by OP-TEE. Does this mean the TRNG itself is functioning properly? Also, in the HSM Care Package, it defines SA2UL_MAX_INSTANCES as 2. Does this imply HSM and OP-TEE can use TRNG simultaneously, or do we need a separate mechanism to allocate TRNG resources?
Please provide some insight to any of these questions as soon as possible as these issues are urgent.
Regards,
Yang