hw_aes_hash_store_keys() in secured mode ?
Hello
I am using AES CBC to transmit data from the DA14683 and I would like to prepare my code for secured mode. I do understand from documentation that in order to set AES keys, I do need to:
- enable OTP for reading
- use DMA channel 7 to transfer keys from OTP to AES KEY 64 registers
- disable OTP
- launch AES on my data
I whish to get more insight about hw_aes_hash_store_keys function that I am currently using to prepare AES coprocessor. It sets key expansion and prepare key bytes before transfering it to the AES registers.