<?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 of Image during confirm the firmware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116613/hash-of-image-during-confirm-the-firmware</link><description>Hi, 
 I&amp;#39;m looking to implement the smp protocol in my central device based on nrf5 sdk, in order to update my new peripheral device based on ncs v2.6.1. 
 My questions are : how to generate the hash image sended when you want to confirm the image previously</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Nov 2024 12:01:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116613/hash-of-image-during-confirm-the-firmware" /><item><title>RE: Hash of Image during confirm the firmware</title><link>https://devzone.nordicsemi.com/thread/511639?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 12:01:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45b4a411-488a-44dc-a9f0-efddbaa15c6d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use the &amp;quot;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/device_mgmt/smp_groups/smp_group_1.html"&gt;state of images&lt;/a&gt;&amp;quot; command to retreive a list of images in the mcuboot slots and the hash digests. You can use this to determine which image you want to confirm.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hash of Image during confirm the firmware</title><link>https://devzone.nordicsemi.com/thread/511607?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2024 09:26:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d21fc3d0-ce28-4ea7-bc89-c9500601de53</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To complete, i found how to retrieve the hash directly in the .bin file,&amp;nbsp;in decrypting image header and then image_tlv.&lt;/p&gt;
&lt;p&gt;But for my information, i would like to know with which data the sha are computed.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Julien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>