Hey all
I have to following setup:
- nRF52840-DK (development kit)
- Nordic SDK 15.3
- Development using eclipse CDT (Makefile project)
I'd like to implement an EC-JPAKE sequence, by directly accessing the mbedtls API (ecjpake.h from mbedtls).
I've tried to statically link the mbedtls library to my existing Nordic project. However there where some problems with the entropy source. Then I decided to access the mbedtls library directly via the nordic SDK. As I discovered the mbedtls library is included in the nordic SDK. So I just added the neccesary files ($(SDK_ROOT)/external/mbedtls/library/ecjpake.c \) and include folder ($(SDK_ROOT)/external/mbedtls/include/mbedtls \) to my Makefile. Everything builds this way just fine.
However I also discovered the following link: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/nrf_security/doc/nrf_security.html#ecjpake-configurations
There is something described, which goes by the name security-module. Now I'm confused:
- What would be the best approach to get access to the ecjpake API from mbedtls, there seem to be various ways?
- And how can I get this security-module (they are using some kconfig files) to work?
Thanks in advance for any help
Cheers
David