Dialog Semiconductor customer support - DA1468x DA14682 encryption authentication keys https://support.dialog-semiconductor.com/resource-keywords/da1468x-da14682-encryption-authentication-keys en Using asymmetric and symmetric keys in DA14682/3 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/using-asymmetric-and-symmetric-keys

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

Device: 
Mon, 14 Jan 2019 21:04:41 +0000 david_33021 275779 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/using-asymmetric-and-symmetric-keys#comments