Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Question: How to use EdDSA (Ed25519) in nRF Connect SDK?

Hi there,

We were using the Cryptographic library provided in the nRF5 SDK, with Oberon backend, to implement EdDSA/Ed25519 signing on our nRF5832 devices.

We are now in the process of migrating our application to nRF Connect SDK, however I am having a lot of trouble figuring out how I can get access to similar nrf_crypto_eddsa_sign() APIs to perform EdDSA signing.

There are lots of different combinations of crypto backends/frontends/libraries. It does not look like tinycrypt support Ed25519, and although the nrf_oberon library is included in NCS, I think frontend support for Ed25519 is missing in mbedtls.

There is an Ed25519 API shown in the nrf_oberon library in NCS documentation, however I cannot seem to use it in my application? Is this library meant for direct use by the developer? I have enabled NRF_OBERON in KConfig and the library is being correctly linked as shown in ncs/nrfxlib/crypto/CMakeLists.txt:24-25. However, when I attempt to #include "ocrypto_ed25519.h", the build system cannot find the header?

I just want to perform the same simple nrf_crypto_eddsa_sign() as used in the previous nRF5 SDK.

Any help or clarification is greatly appreciated!

Parents Reply Children
No Data
Related