Hi,
I have a few questions about the use of asymmetric and symmetric keys in the DA14682/3.
1. Can I write a new symmetric key to an empty slot in the symmetric key area at runtime (eg, not using the production line tool/command line programmer)? What if I've already set the secure image flag in OTP?
2. Can I write a new asymmetric key to an empty slot in the asymmetric key area at runtime?
3. Does the SDK provide APIs for writing keys to the symmetric and asymmetric key areas, or should I instead follow the example in main_secure.c in the secure bootloader project (which calculates specific addresses in the OTP and writes with hw_otpc_manual_prog)?
4. Can I use a key from the symmetric key area for encryption/decryption at runtime from my application task? How do I provide the key to the crypto APIs? Can I specify the key's slot in the symmetric key area, or do I need to manually read the key from the OTP and pass it to the encryption/decryption API?
5. Can I use a key from the asymmetric key area at runtime? Do I need to read it manually from OTP, as in the secure bootloader example?
Thanks,
David