Error when calling crypto_backend init_fn

On my nRF52840 with SD 17.1 through nrf_crypto_init the function p_backend->init_fn() is called.

The only backend I have enabled is CC310 via setting

CFLAGS += -DNRF_CRYPTO_BACKEND_CC310_ENABLED=1

in Makefile.
The Issue is that this always yields an error, which cannot be decoded properly:
<error> app: app_error_print():

<error> app: Fault identifier:  0x1001

<error> app: Program counter:   0x38512

<error> app: Fault information: 0x1
What could be the reason for the init function to throw an error=
Cheers!
Parents Reply
  • This is in the cc310 runtime library, but I am not sure why this specific function is being called. I do not see that here. Could you please try the ble_app_hrs example and see if that runs ok on your side? It uses the same cc310 backend with the Softdevice enabled (Is initialised from main() here: peer_manager_init() -> pm_init() -> sm_init() -> nrf_ble_lesc_init() -> nrf_crypto_init()) ? 

Children
Related