Hello @alejandro_e,
Thank you for the information.
I understand and I have confirmed that the bootloader is importing the keys into the HSE key handles. I’d like to clarify a couple of points regarding our setup:
1. ATF and HSE Firmware Reload
Does the ATF re-upload the HSE firmware during boot?
If so, this would mean the keys imported by the bootloader are lost, which could explain why they are not accessible later via pkcs11-tool.
How can I verify whether the HSE firmware and HSE-SYS img is being reloaded at this stage?
2. Yocto Configuration
In my local.conf, I have included:
DISTRO_FEATURES:append = " hse"
Does enabling this feature cause the HSE firmware to be loaded again ?
3. Key Visibility in PKCS11
Can pkcs11-tool access keys that were imported by the bootloader, or is it designed to only list and use keys that are explicitly loaded via pkcs11-tool itself?