Connectivity AND security with limited RAM

I'm currently developping an application based on the Zephyr OS with its BLE protocol stack using the nRF52805 SoC.
Due to security specifications, some cryptographical features of the built-in mbedTLS library shall be used.
Since the nRF52805 does only have 24 kB of RAM, I'm currently not able to fit the build into the available memory, even after a lot of optimizations via prj.conf.
Is the nRF52805 as a promoted IoT Soc actually intended to be able to run Zephyr applications including mbedTLS or is it only useful for simple beaconing without any cryptographical support?

Parents Reply
  • I now managed to implement the required cryptographical operations using the oberon library and it seems to work with a high enough stack size.

    However, I was not able to use relative paths to the library files, since they were not found within the project / environment. Instead I had to use absolute include paths e.g.:

    #include "C:\work\tools\ncs\v1.7.0\nrfxlib\crypto\nrf_oberon\include\ocrypto_ecdsa_p256.h"

    Am I missing something?
    How must I configure the toolchain, the project or its CMakeLists.txt to have these include paths available?
    Any other ideas, what the reason for this could be?

    Thank you

Children
Related