Hi,
I'm trying to include AES256 CTR in the ble_app_template project.
What i've done so far:
.c files:
- Included the files from /components/libraries/crypto
- Included the files from /components/libraries/crypto/backend/mbedtls
- Included the files from /external/mbedtls/library
User include directories:
components/libraries/stack_info
components/libraries/crypto/backend/cc310
components/libraries/crypto/backend/cc310_bl
components/libraries/crypto/backend/cifra
components/libraries/crypto/backend/mbedtls
components/libraries/crypto/backend/micro_ecc
components/libraries/crypto/backend/nrf_hw
components/libraries/crypto/backend/nrf_sw
components/libraries/crypto/backend/oberon
external/mbedtls/include
external/nrf_tls/mbedtls/nrf_crypto/config
The compilation error I have is in the file entropy_poll.c
#error "Platform entropy sources only work on Unix and Windows, see MBEDTLS_NO_PLATFORM_ENTROPY in config.h"
It's something to do with the MBEDTLS_CONFIG_FILE not being set I think?
external/nrf_tls/mbedtls/nrf_crypto/config has been added as path
Anybody who could know what my problem is?
THX!
Marvin