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

unable to compile libmbedcrypto.a

hello, i am trying to compile libmbedcrypto.a but the Make file is pointing to a non existing file called /mbedtls/sha256_alt_cc310.c. Any idea where i can find this file?

Thank You Nav

Parents
  • Hi,

    Source files for crypto were removed from nRF5 SDK for Thread version 0.9.0 by mistake. Please find a patch attached: nRF5_SDK_for_Thread_v0.9.0_patch.zip We preserve a folder structure so the only thing you have to do is to unzip the patch and paste it as is to root folder of the SDK.

    Notice that if you use a precompiled OpenThread libraries present in the SDK, you do not have to build crypto library on your own - you can use a precompiled one.

    In the attached patch we added one new file called hardware_entropy_new.c. This file is an updated version of hardware_entropy.c, compatible with OpenThread after API update in github.com/.../1650 (this API update was made after we released nRF5 SDK for Thread version 0.9.0). Do not update hardware_entropy.c file if you want to use precompiled version of OpenThread libraries from SDK. Use the new file only if you want to compile the newest available version of OpenThread available on github.

    Best regards,

    Krzysztof

Reply
  • Hi,

    Source files for crypto were removed from nRF5 SDK for Thread version 0.9.0 by mistake. Please find a patch attached: nRF5_SDK_for_Thread_v0.9.0_patch.zip We preserve a folder structure so the only thing you have to do is to unzip the patch and paste it as is to root folder of the SDK.

    Notice that if you use a precompiled OpenThread libraries present in the SDK, you do not have to build crypto library on your own - you can use a precompiled one.

    In the attached patch we added one new file called hardware_entropy_new.c. This file is an updated version of hardware_entropy.c, compatible with OpenThread after API update in github.com/.../1650 (this API update was made after we released nRF5 SDK for Thread version 0.9.0). Do not update hardware_entropy.c file if you want to use precompiled version of OpenThread libraries from SDK. Use the new file only if you want to compile the newest available version of OpenThread available on github.

    Best regards,

    Krzysztof

Children
No Data
Related