<?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>Hash-sha512 in Mesh app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79748/hash-sha512-in-mesh-app</link><description>Hi There, 
 I try to use the sha512 to checksum. But, the compiler told me the functions do not be defined. [ocrypto_sha512_init(), ocrypto_sha512_update(), ocrypto_sha512_final]. 
 How can I use it in my application? (Based on Mesh5.0) 
 
 Regards, </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Sep 2021 12:56:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79748/hash-sha512-in-mesh-app" /><item><title>RE: Hash-sha512 in Mesh app</title><link>https://devzone.nordicsemi.com/thread/330049?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 12:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:181987a7-cc60-4591-b440-e94448aba43d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. This is a different failure. Here it is because you are missing micro-ecc. See details on how to install micro-ecc &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_crypto_backend_micro_ecc.html"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hash-sha512 in Mesh app</title><link>https://devzone.nordicsemi.com/thread/330041?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 12:40:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d51f9ab-9f0d-445b-ba20-45a70a91725f</guid><dc:creator>lgs</dc:creator><description>&lt;p&gt;Yeah. Actually, I download the nRF17.0.2 SDK solely to try the hash example, opening by SES.&lt;/p&gt;
&lt;p&gt;But the example still fails. I don&amp;#39;t know why.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;An error like this&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Building &amp;lsquo;nrf_crypto_hash_pca10056&amp;rsquo; from solution &amp;lsquo;nrf_crypto_hash_pca10056&amp;rsquo; in configuration &amp;lsquo;Release&amp;rsquo;&lt;br /&gt;1&amp;gt; Linking nrf_crypto_hash_pca10056.elf&lt;br /&gt;1&amp;gt; C:/Users/LT-055650/Downloads/EmbeddedStudio_ARM_Nordic_v550d_win_x64/arm_segger_embedded_studio_v550d_win_x64_nordic/gcc/arm-none-eabi/bin/ld: cannot find ../../../../../../../external/micro-ecc/nrf52hf_armgcc/armgcc/micro_ecc_lib_nrf52.a: No such file or directory&lt;br /&gt;Build failed&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hash-sha512 in Mesh app</title><link>https://devzone.nordicsemi.com/thread/330031?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 12:11:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac659586-ec50-479e-82fb-ebe261bbefda</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;You can find the library under &amp;lt;nRF5SDK&amp;gt;\external\nrf_oberon\lib\ and include files as well. I suggest you refer to a nRF5 SDK example project that use crypto to see how to add the library and include path in your specific toolchain (see how it is done there).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hash-sha512 in Mesh app</title><link>https://devzone.nordicsemi.com/thread/330011?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 11:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2323fd44-2af3-42cd-99e5-c99c938c792a</guid><dc:creator>lgs</dc:creator><description>&lt;p&gt;How to add the library binary?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hash-sha512 in Mesh app</title><link>https://devzone.nordicsemi.com/thread/330009?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 11:29:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1379810-f9f2-4445-8e51-9b5d250d2a24</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which exact error message do you get? Does this fail during compiling or building? If it fails during compilation, it indicates that you have not included the header file that defines these functions (which is ocrypto_sha512.h). If it fails during linking, it indicates that you have not added the library binary to your project (this is provided as binary only).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>