Hi,
I am trying to migrate a moderaely complicated nrf5340 app from sdk 1.9.1 to sdk 2.0 and having a few issues with getting the right crypto configuration.
Original app was working using the following MBEDTLS config...
CONFIG_MBEDTLS=y
CONFIG_MBEDTLS_BUILTIN=y
-# This one for AES CBC 128
CONFIG_MBEDTLS_CIPHER_AES_ENABLED=y
-# This one for SHA256
CONFIG_MBEDTLS_MAC_SHA256_ENABLED=y
My broken firmware config is....
CONFIG_NORDIC_SECURITY_BACKEND=y
CONFIG_OBERON_BACKEND=y
I am pretty sure my security config is wrong and is crashing in bluetooth stack startup when bt_rand() calls a function tc_hmac_dcprng_generate(); whilst doing some intialisation for BLE advertising to do with getting a random address.
I have been trying to follow....
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrfxlib/nrf_security/doc/backend_config.html#nrf-security-legacy-config
as I assume a legacy config is what I need. But what configuration do I need?
What is Oberon and CC3XX and which do I need? It says MBEDTLS backend is nolonger suppcorted.
Anyone any Ideas?