Writing and locking the Boot Hardware Key using the B-U585I-IOT02A discovery kit
Hi all,
I’m trying to find out when the Boot Hardware Key (BHK) is exactly written and locked (using the B-U585I-IOT02A discovery kit).
The reference manual (RM0456, page 1513) just says that it is „written by a secure code during boot“.
So I modified an example project where the TrustZone is enabled and assumed that it boots in secure mode and the key is written. I then tried to read out the key and to use it to encrypt data with the SAES module but this didn’t work. So I assume that the key wasn’t written yet. Is there anything else I have to do that the BHK is written during boot or do I have to generate the BHK with my own code? What is meant with secure boot exactly?
Best regards,
Kathrin
