theheraldproject / herald-for-cpp

Herald for C++ - Reliable mobile Bluetooth communications - Native library & test apps
https://heraldprox.io
Other
13 stars 10 forks source link

Upstream change: Zephyr moving from TinyCrypt to PSA in MbedTLS project #115

Open adamfowleruk opened 2 years ago

adamfowleruk commented 2 years ago

The Zephyr project that our Herald embedded apps are built on has had several crypto API for a while. Herald currently supports either TinyCrypt to MbedTLS on Zephyr but prefers TinyCrypt due to final file size on Flash.

(Note: In Herald this library is only used for SHA256 support today. Zephyr BT Mesh support also uses ECC in TinyCrypt.)

Zephyr has decided to adopt PSA due to MbedTLS adopting this, and so The Herald Project must keep a watch on this effort to decide when to move over to the new approach. (I.e. move from TinyCrypt by default to Zephyr MbedTLS/PSA.)

Zephyr issue for this: https://github.com/zephyrproject-rtos/zephyr/issues/43712