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

nrf_crypto not compiling

Dear All ,

After finaly getting all the other stuff in place I tried to compile the examples in the nrf_crypto files.. All of them are giving error bellow:-

Output/nrf_crypto_aes_ctr_pca10040 Release/Obj/thumb_crt0.o: in function `memory_set':

undefined reference to `__fs_data_load_start__'

C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.16a/source/thumb_crt0.s:192: undefined reference to `__fs_data_start__'

C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.16a/source/thumb_crt0.s:193: undefined reference to `__fs_data_end__'

Please, can you advise how to proceed?

Another question is using the AES CTR encryption API , is it possible to do 64bit encryption instead of 128.

thanking you,

Nadeem Jamal

Parents
  • Hi, 

    The __fs_data_start__ and __fs_data_end__ symbol needs to be defined in your flash placment xml file. Like this (notice that .fs_data_run is placed between the nrf_sections_run and the nrf_sections_run_end section in RAM):

     

    Another question is using the AES CTR encryption API , is it possible to do 64bit encryption instead of 128.

    AES does not support 64-bit

Reply
  • Hi, 

    The __fs_data_start__ and __fs_data_end__ symbol needs to be defined in your flash placment xml file. Like this (notice that .fs_data_run is placed between the nrf_sections_run and the nrf_sections_run_end section in RAM):

     

    Another question is using the AES CTR encryption API , is it possible to do 64bit encryption instead of 128.

    AES does not support 64-bit

Children