mkiiskila opened a new pull request #1294: Encrypted flash URL: https://github.com/apache/mynewt-core/pull/1294 This is done with a pseudo flash device, which provides hal_flash interface. Device is split into common part, and architecture specific part. Only nrf51/nrf52 implementation is within this PR. So the current split might need adjusting when/if other platforms are added. Split is done so that you can take advantage of crypto acceleration when available. Internally it uses AES-128 CTR mode where counter values comes from block offset. At the moment the use cases are a bit limited; we'd need to augment hal_flash interface a bit to allow use of this device for things like FCB and image storage. Specifically, they'd need a routine with which to query the flash device whether underlying flash is empty or not. As a example I modified one BSP to show how to set this up.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
