<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>What are the differences between libmbedcrypto.a and libmbedcrypto-software.a?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39157/what-are-the-differences-between-libmbedcrypto-a-and-libmbedcrypto-software-a</link><description>Hello, 
 I am wondering that what exactly are the differences between libmbedcrypto.a and libmbedcrypto-software.a? 
 I read through the SDK documentation about the opethread libraries part, and assuming that these two versions are interchangable. 
 However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Oct 2018 13:50:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39157/what-are-the-differences-between-libmbedcrypto-a-and-libmbedcrypto-software-a" /><item><title>RE: What are the differences between libmbedcrypto.a and libmbedcrypto-software.a?</title><link>https://devzone.nordicsemi.com/thread/152081?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 13:50:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b200221-d387-4e5b-b2d5-4c273c1c87c3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I was able to reproduce this issue. It seems that the nrf52840-sdk-usb library used by this example have been built with HW crypto support disabled. The solution is to &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.thread_zigbee.v2.0.0/thread_intro.html?cp=4_2_0_1_0_5#thread_qsg_libraries"&gt;rebuild the library&lt;/a&gt; with HW crypto support. This can be done by removing the flag &amp;quot;DISABLE_CC310=1&amp;quot; on line 110 and 141 of the Makefile found in &amp;quot;nRF5_SDK_for_Thread_and_Zigbee_2.0.0_29775ac\external\openthread\project\lib\openthread_nrf52840\sdk\usb\armgcc\Makefile&amp;quot;, and recompile as described in above link.&lt;/p&gt;
&lt;p&gt;For your convenience, I have attached rebuilt library that should solve the issue:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-55ced59c393a458a86713ad0184daee5/libopenthread_2D00_nrf52840_2D00_sdk_2D00_usb.a"&gt;devzone.nordicsemi.com/.../libopenthread_2D00_nrf52840_2D00_sdk_2D00_usb.a&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please replace the file in &amp;quot;nRF5_SDK_for_Thread_and_Zigbee_2.0.0_29775ac\external\openthread\lib\gcc&amp;quot; with the attached file.&lt;/p&gt;
&lt;p&gt;I have notified the developers and this issue should be resolved in next release of SDK for Thread.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the differences between libmbedcrypto.a and libmbedcrypto-software.a?</title><link>https://devzone.nordicsemi.com/thread/151677?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 13:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edb12285-5719-4203-84cb-e6beb18e62c8</guid><dc:creator>by1e11</dc:creator><description>&lt;p&gt;Hi Jorgen&lt;/p&gt;
&lt;p&gt;I am using cli usb example in Therad and Zigbee SDK v2.0.0. And the the default library is the SW version in my downloaded package.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BTW there are errors as well when building the ncp spi example using the software version.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Best wishes&lt;/p&gt;
&lt;p&gt;Bo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the differences between libmbedcrypto.a and libmbedcrypto-software.a?</title><link>https://devzone.nordicsemi.com/thread/151665?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 12:40:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4b9e006-4507-4c76-8d04-fb16e7517be3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Both NCP (UART) and CLI (UART) should be using HW version in Therad and Zigbee SDK v2.0.0. Which exact example did you use that used the software version?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the differences between libmbedcrypto.a and libmbedcrypto-software.a?</title><link>https://devzone.nordicsemi.com/thread/151633?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 11:07:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:929d656d-e08f-48bd-99af-6ed4cb819d05</guid><dc:creator>by1e11</dc:creator><description>&lt;p&gt;Hi, Jorgen&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I got the following error log when building cli example using libmbedcrypto.a in SES at link stage:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;1&amp;gt; Linking sh_firmware.elf
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libopenthread-ftd.a(libopenthread_ftd_a-aes_ecb.o): In function `ot::Crypto::AesEcb::AesEcb()&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../src/core/crypto/aes_ecb.cpp:41: undefined reference to `mbedtls_aes_init&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libopenthread-ftd.a(libopenthread_ftd_a-aes_ecb.o): In function `ot::Crypto::AesEcb::SetKey(unsigned char const*, unsigned short)&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../src/core/crypto/aes_ecb.cpp:46: undefined reference to `mbedtls_aes_setkey_enc&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libopenthread-ftd.a(libopenthread_ftd_a-aes_ecb.o): In function `ot::Crypto::AesEcb::Encrypt(unsigned char const*, unsigned char*)&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../src/core/crypto/aes_ecb.cpp:51: undefined reference to `mbedtls_aes_crypt_ecb&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libopenthread-ftd.a(libopenthread_ftd_a-aes_ecb.o): In function `ot::Crypto::AesEcb::~AesEcb()&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../src/core/crypto/aes_ecb.cpp:56: undefined reference to `mbedtls_aes_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libopenthread-ftd.a(libopenthread_ftd_a-sha256.o): In function `ot::Crypto::Sha256::Sha256()&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../src/core/crypto/sha256.cpp:41: undefined reference to `mbedtls_sha256_init&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libopenthread-ftd.a(libopenthread_ftd_a-sha256.o): In function `ot::Crypto::Sha256::~Sha256()&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../src/core/crypto/sha256.cpp:46: undefined reference to `mbedtls_sha256_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libopenthread-ftd.a(libopenthread_ftd_a-sha256.o): In function `ot::Crypto::Sha256::Start()&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../src/core/crypto/sha256.cpp:51: undefined reference to `mbedtls_sha256_starts_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libopenthread-ftd.a(libopenthread_ftd_a-sha256.o): In function `ot::Crypto::Sha256::Update(unsigned char const*, unsigned short)&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../src/core/crypto/sha256.cpp:56: undefined reference to `mbedtls_sha256_update_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libopenthread-ftd.a(libopenthread_ftd_a-sha256.o): In function `ot::Crypto::Sha256::Finish(unsigned char*)&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../src/core/crypto/sha256.cpp:61: undefined reference to `mbedtls_sha256_finish_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ctr_drbg.o): In function `block_cipher_df&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:164: undefined reference to `mbedtls_aes_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:188: undefined reference to `mbedtls_aes_setkey_enc&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:210: undefined reference to `mbedtls_aes_crypt_ecb&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:227: undefined reference to `mbedtls_aes_setkey_enc&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:236: undefined reference to `mbedtls_aes_crypt_ecb&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:244: undefined reference to `mbedtls_aes_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ctr_drbg.o): In function `ctr_drbg_update_internal&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:285: undefined reference to `mbedtls_aes_crypt_ecb&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:299: undefined reference to `mbedtls_aes_setkey_enc&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ctr_drbg.o): In function `mbedtls_ctr_drbg_free&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:127: undefined reference to `mbedtls_aes_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ctr_drbg.o): In function `mbedtls_ctr_drbg_seed_entropy_len&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:86: undefined reference to `mbedtls_aes_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:97: undefined reference to `mbedtls_aes_setkey_enc&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ctr_drbg.o): In function `mbedtls_ctr_drbg_random_with_add&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ctr_drbg.c:432: undefined reference to `mbedtls_aes_crypt_ecb&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-entropy.o): In function `entropy_update&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/entropy.c:229: undefined reference to `mbedtls_sha256_update_ret&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/entropy.c:231: undefined reference to `mbedtls_sha256_update_ret&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/entropy.c:224: undefined reference to `mbedtls_sha256_starts_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-entropy.o): In function `mbedtls_entropy_init&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/entropy.c:82: undefined reference to `mbedtls_sha256_init&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-entropy.o): In function `mbedtls_entropy_free&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/entropy.c:137: undefined reference to `mbedtls_sha256_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-entropy.o): In function `mbedtls_entropy_func&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/entropy.c:406: undefined reference to `mbedtls_sha256_finish_ret&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/entropy.c:412: undefined reference to `mbedtls_sha256_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/entropy.c:413: undefined reference to `mbedtls_sha256_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/entropy.c:414: undefined reference to `mbedtls_sha256_starts_ret&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/entropy.c:416: undefined reference to `mbedtls_sha256_update_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-md_wrap.o): In function `sha224_process_wrap&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/md_wrap.c:442: undefined reference to `mbedtls_internal_sha256_process&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-md_wrap.o): In function `sha224_clone_wrap&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/md_wrap.c:436: undefined reference to `mbedtls_sha256_clone&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-md_wrap.o): In function `sha224_ctx_free&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/md_wrap.c:430: undefined reference to `mbedtls_sha256_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-md_wrap.o): In function `sha224_ctx_alloc&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/md_wrap.c:423: undefined reference to `mbedtls_sha256_init&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-md_wrap.o): In function `sha224_finish_wrap&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/md_wrap.c:408: undefined reference to `mbedtls_sha256_finish_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-md_wrap.o): In function `sha224_update_wrap&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/md_wrap.c:402: undefined reference to `mbedtls_sha256_update_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-md_wrap.o): In function `sha224_starts_wrap&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/md_wrap.c:396: undefined reference to `mbedtls_sha256_starts_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-md_wrap.o): In function `sha256_starts_wrap&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/md_wrap.c:463: undefined reference to `mbedtls_sha256_starts_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-sha256.o): In function `mbedtls_sha256_ret&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/sha256.c:388: undefined reference to `mbedtls_sha256_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/sha256.c:390: undefined reference to `mbedtls_sha256_starts_ret&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/sha256.c:393: undefined reference to `mbedtls_sha256_update_ret&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/sha256.c:396: undefined reference to `mbedtls_sha256_finish_ret&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/sha256.c:400: undefined reference to `mbedtls_sha256_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ssl_srv.o): In function `ssl_parse_supported_elliptic_curves&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_srv.c:319: undefined reference to `mbedtls_ecp_curve_info_from_tls_id&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ssl_tls.o): In function `ssl_calc_finished_tls_sha256&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:5114: undefined reference to `mbedtls_sha256_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:5118: undefined reference to `mbedtls_sha256_clone&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:5135: undefined reference to `mbedtls_sha256_finish_ret&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:5142: undefined reference to `mbedtls_sha256_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ssl_tls.o): In function `ssl_calc_verify_tls_sha256&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:1072: undefined reference to `mbedtls_sha256_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:1076: undefined reference to `mbedtls_sha256_clone&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:1077: undefined reference to `mbedtls_sha256_finish_ret&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:1082: undefined reference to `mbedtls_sha256_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ssl_tls.o): In function `ssl_update_checksum_sha256&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:4943: undefined reference to `mbedtls_sha256_update_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ssl_tls.o): In function `ssl_update_checksum_start&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:4920: undefined reference to `mbedtls_sha256_update_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ssl_tls.o): In function `mbedtls_ssl_reset_checksum&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:4902: undefined reference to `mbedtls_sha256_starts_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ssl_tls.o): In function `mbedtls_ssl_handshake_free&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:7427: undefined reference to `mbedtls_sha256_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ssl_tls.o): In function `ssl_handshake_params_init&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:5503: undefined reference to `mbedtls_sha256_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:5504: undefined reference to `mbedtls_sha256_starts_ret&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ssl_tls.o): In function `mbedtls_ssl_config_defaults&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_tls.c:7790: undefined reference to `mbedtls_ecp_grp_id_list&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-cipher_wrap.o): In function `aes_ctx_free&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/cipher_wrap.c:177: undefined reference to `mbedtls_aes_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-cipher_wrap.o): In function `aes_ctx_alloc&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/cipher_wrap.c:170: undefined reference to `mbedtls_aes_init&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-cipher_wrap.o): In function `aes_setkey_dec_wrap&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/cipher_wrap.c:154: undefined reference to `mbedtls_aes_setkey_dec&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-cipher_wrap.o): In function `aes_setkey_enc_wrap&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/cipher_wrap.c:160: undefined reference to `mbedtls_aes_setkey_enc&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-cipher_wrap.o): In function `aes_crypt_ecb_wrap&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/cipher_wrap.c:119: undefined reference to `mbedtls_aes_crypt_ecb&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecdh.o): In function `mbedtls_ecdh_free&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecdh.c:105: undefined reference to `mbedtls_ecp_group_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecdh.c:106: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecdh.c:107: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecdh.c:108: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecdh.c:109: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `ecjpake_write_len_point&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:156: undefined reference to `mbedtls_ecp_point_write_binary&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `ecjpake_kkp_read&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:383: undefined reference to `mbedtls_ecp_tls_read_point&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:384: undefined reference to `mbedtls_ecp_is_zero&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `ecjpake_zkp_read&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:244: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:245: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:258: undefined reference to `mbedtls_ecp_tls_read_point&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:281: undefined reference to `mbedtls_ecp_muladd&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:284: undefined reference to `mbedtls_ecp_point_cmp&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:291: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:292: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `ecjpake_zkp_write&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:323: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:328: undefined reference to `mbedtls_ecp_gen_keypair_base&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:336: undefined reference to `mbedtls_ecp_tls_write_point&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:352: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `ecjpake_kkp_write&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:419: undefined reference to `mbedtls_ecp_gen_keypair_base&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:421: undefined reference to `mbedtls_ecp_tls_write_point&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `ecjpake_ecp_add3&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:541: undefined reference to `mbedtls_ecp_muladd&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:542: undefined reference to `mbedtls_ecp_muladd&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `mbedtls_ecjpake_init&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:61: undefined reference to `mbedtls_ecp_group_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:64: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:65: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:66: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:67: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:68: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `mbedtls_ecjpake_free&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:84: undefined reference to `mbedtls_ecp_group_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:86: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:87: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:88: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:89: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:90: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `mbedtls_ecjpake_setup&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:114: undefined reference to `mbedtls_ecp_group_load&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `mbedtls_ecjpake_read_round_two&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:563: undefined reference to `mbedtls_ecp_group_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:564: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:583: undefined reference to `mbedtls_ecp_tls_read_group&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:602: undefined reference to `mbedtls_ecp_group_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:603: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `mbedtls_ecjpake_write_round_two&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:655: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:656: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:670: undefined reference to `mbedtls_ecp_mul&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:687: undefined reference to `mbedtls_ecp_tls_write_group&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:697: undefined reference to `mbedtls_ecp_tls_write_point&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:709: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:710: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ecjpake.o): In function `mbedtls_ecjpake_derive_secret&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:734: undefined reference to `mbedtls_ecp_point_init&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:747: undefined reference to `mbedtls_ecp_muladd&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:750: undefined reference to `mbedtls_ecp_mul&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ecjpake.c:759: undefined reference to `mbedtls_ecp_point_free&amp;#39;
1&amp;gt; ../../../../../../../external/openthread/lib/gcc/libmbedcrypto.a(libmbedcrypto_a-ssl_cli.o): In function `ssl_write_supported_elliptic_curves_ext&amp;#39;:
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_cli.c:283: undefined reference to `mbedtls_ecp_curve_info_from_grp_id&amp;#39;
1&amp;gt; /build/KNGP-TOLL1-JOB1/openthread/examples/../third_party/mbedtls/repo/library/ssl_cli.c:309: undefined reference to `mbedtls_ecp_curve_info_from_grp_id&amp;#39;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And the libs I included are as follows:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1538651083057v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Any idea?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks a million&lt;/p&gt;
&lt;p&gt;Best wishes&lt;/p&gt;
&lt;p&gt;Bo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What are the differences between libmbedcrypto.a and libmbedcrypto-software.a?</title><link>https://devzone.nordicsemi.com/thread/151631?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 10:56:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24f20921-34c3-4adc-8fec-a6ee4d2e7fac</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is described in the documentation:&amp;nbsp;&lt;a title="ARM CryptoCell support" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.thread_zigbee.v2.0.0/thread_openthread_libraries.html?cp=4_2_0_1_0_8_0#openthread_libs_arm"&gt;ARM CryptoCell support&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What errors do you get if you try to use the other library?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>