This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrfxlib: Nordic Security Backend

Hi,

I'm trying to use the Nordic Security Backend, such that a change to CC-312, if availble soon, would be easy. However I get following error after enabling

CONFIG_NORDIC_SECURITY_BACKEND=y
:

/path/to/nrf_connect_sdk/nrfxlib/nrf_security/src/backend/nrf5x/entropy_nrf5x.c:11:15: error: unknown type name 'defined'
   11 | static_assert(defined(CONFIG_ENTROPY_GENERATOR), "CONFIG_ENTROPY_GENERATOR is not enabled.");
      |               ^~~~~~~

It works on compiling for nRF52840, but fails also on nRF52832.

Parents Reply
  • I'm trying to write a generic code for the nRF5340, such that on a later NCS version the (hopefully) supported CryptoCell-312 can be used - without changing the Source Code.

    To see if the error does only happen on the nRF5340, I tried it with compiling for nRF52840 and nRF52832. For the nRF52840 this worked well, since CONFIG_NORDIC_SECURITY_BACKEND automatically selects the CryptoCell as backend.

    For the nRF5340 and nRF52832 I got the above error. CONFIG_MBEDTLS_VANILLA_BACKEND is automatically selecte, if the CryptoCell is not available.

Children
Related