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

Undefined reference to `CC_AESCCM_Init' for AES CCM

Hi,

I want to use AES CCM in my project (I want to try both CC310 and mbedTLS).

When I compile my project, I have undefined reference to 3 functions that are located in "crys_aesccm.h"

1> Output/.../Obj/cc310_backend_aes_aead.o: In function `backend_cc310_crypt':
/components/libraries/crypto/backend/cc310/cc310_backend_aes_aead.c:277: undefined reference to `CC_AESCCM_Init'
/components/libraries/crypto/backend/cc310/cc310_backend_aes_aead.c:301: undefined reference to `CRYS_AESCCM_BlockAdata'
/components/libraries/crypto/backend/cc310/cc310_backend_aes_aead.c:320: undefined reference to `CRYS_AESCCM_Finish'
1> Output/.../nrf_crypto_init.o: In function `nrf_crypto_init':
/components/libraries/crypto/nrf_crypto_init.c:86: undefined reference to `__stop_crypto_data'
/components/libraries/crypto/nrf_crypto_init.c:86: undefined reference to `__start_crypto_data'

I have enabled NRF_CRYPTO and CC310_BACKEND and CC310_AESCCM in the sdk_config.h. I also have the same includes as in the nrf_crypto/aes_ccm example.

Do you guys have any idea where the problem is coming from ?

I can post my full config file if necessary.

Thanks

PS : I'm using latest SDK (15.3)

Parents Reply Children
No Data
Related