<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Store User Specific value in the secure NVM in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1861339#M35102</link>
    <description>&lt;P&gt;Hi @&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795" target="_self"&gt;&lt;SPAN class=""&gt;lukaszadrapa&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can we use crypto key element persist feature to store user values to secure NVM?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shravani_0-1715161489713.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277709i04829257D5CC4D87/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shravani_0-1715161489713.png" alt="shravani_0-1715161489713.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shravani_1-1715161543209.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277710i92A1485B18319C6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shravani_1-1715161543209.png" alt="shravani_1-1715161543209.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was checking&amp;nbsp;Crypto driver persistent information in the RTD_CRYPTO_UM.pdf document. But I am confused. Please let me know your thoughts on this.&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 09:47:50 GMT</pubDate>
    <dc:creator>shravani</dc:creator>
    <dc:date>2024-05-08T09:47:50Z</dc:date>
    <item>
      <title>Store User Specific value in the secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1856430#M34749</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to store some user specific data such as HASH and CMAC Tag to secure NVM. Is it possible to store? If yes, how could I achieve this?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 04:57:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1856430#M34749</guid>
      <dc:creator>shravani</dc:creator>
      <dc:date>2024-04-29T04:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Store User Specific value in the secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1856763#M34785</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227526"&gt;@shravani&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I already wrote to your colleague:&lt;/P&gt;
&lt;P&gt;"Please don't use the import/export key to save the data,&amp;nbsp; import key when the key slot is not empty is required to encrypt the plain data of the key value. The export key value is also encrypted and needs decrypted it if needed to get the plain text. It's a rather troublesome operation, and the keys may be damaged because of some ECC error trigger by unexpected reset or power down.&lt;/P&gt;
&lt;P&gt;A workaround could be to use HSE to encrypt a defined NVM region and use SMR services for verification."&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 13:40:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1856763#M34785</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-04-29T13:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Store User Specific value in the secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1857168#M34810</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;BR /&gt;My question here is for user specific data not for keys. Lets say I want to store hash value to secure NVM, is it possible ? How could I save it?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 03:19:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1857168#M34810</guid>
      <dc:creator>shravani</dc:creator>
      <dc:date>2024-04-30T03:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Store User Specific value in the secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858258#M34881</link>
      <description>&lt;P&gt;That's what I wrote - we don't recommend this. Please use described workaround.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 06:47:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858258#M34881</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-05-02T06:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Store User Specific value in the secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858262#M34882</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you please elaborate more?&amp;nbsp; Actually, I am not getting the workaround you have suggested.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 06:53:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858262#M34882</guid>
      <dc:creator>shravani</dc:creator>
      <dc:date>2024-05-02T06:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Store User Specific value in the secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858757#M34923</link>
      <description>&lt;P&gt;Well, you can designate some flash area for the secure data. When you are going to program the data to flash, encrypt the data first. Once the data are programmed, you can configure SMR (for advanced secure boot mode) to cover this region for verification of the data. &lt;BR /&gt;When you want to read the data - just read it and decrypt it. &lt;BR /&gt;When you want to update the data - encrypt new data, erase the flash, program the encrypted data, update SMR.&lt;/P&gt;
&lt;P&gt;For more details about the advanced secure boot, take a look at Secure Boot application note:&lt;BR /&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32k-auto-general-purpose-mcus/s32k3-microcontrollers-for-automotive-general-purpose:S32K3" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32k-auto-general-purpose-mcus/s32k3-microcontrollers-for-automotive-general-purpose:S32K3&lt;/A&gt;&lt;BR /&gt;Application note can be found here:&lt;BR /&gt;Documentation -&amp;gt; Secure Files -&amp;gt; Secure Boot Application note v0.1.1.0 (AN744511)&lt;BR /&gt;Associated demo project can be downloaded here:&lt;BR /&gt;Design Resources -&amp;gt; Software -&amp;gt; Secure Files -&amp;gt; SecureBootAppNoteDemo (SW745310)&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 05:19:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858757#M34923</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-05-03T05:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Store User Specific value in the secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858763#M34925</link>
      <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I am using SHE based secure boot. Can we perform same operation with SHE based secure boot?</description>
      <pubDate>Fri, 03 May 2024 05:31:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858763#M34925</guid>
      <dc:creator>shravani</dc:creator>
      <dc:date>2024-05-03T05:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Store User Specific value in the secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858908#M34936</link>
      <description>&lt;P&gt;Yes, this can be done also with SHE secure boot. &lt;BR /&gt;In case of SHE secure boot, you can define one region only. So, first option is to have everything in one block to be checked by the SHE secure boot - i.e. bootloader + secure data, for example. &lt;BR /&gt;Second option is to create a chain of trust. That means the autonomous SHE secure boot will check bootloader only. Then the bootloader can check CMAC of your secure data (and probably also CMAC of your application). If the check passes, execute CMD_BOOT_OK command to finish the SHE secure boot. If the check fails, execute CMD_BOOT_FAILURE. &lt;BR /&gt;This is defined by SHE specification - first stage of the secure boot is autonomous and the others can be done manually. The final status is then provided to SHE by CMD_BOOT_OK or CMD_BOOT_FAILURE commands.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 11:17:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858908#M34936</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-05-03T11:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Store User Specific value in the secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858921#M34938</link>
      <description>Thank you so much for the solution</description>
      <pubDate>Fri, 03 May 2024 11:47:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1858921#M34938</guid>
      <dc:creator>shravani</dc:creator>
      <dc:date>2024-05-03T11:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Store User Specific value in the secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1861339#M35102</link>
      <description>&lt;P&gt;Hi @&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795" target="_self"&gt;&lt;SPAN class=""&gt;lukaszadrapa&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can we use crypto key element persist feature to store user values to secure NVM?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shravani_0-1715161489713.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277709i04829257D5CC4D87/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shravani_0-1715161489713.png" alt="shravani_0-1715161489713.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shravani_1-1715161543209.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277710i92A1485B18319C6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shravani_1-1715161543209.png" alt="shravani_1-1715161543209.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was checking&amp;nbsp;Crypto driver persistent information in the RTD_CRYPTO_UM.pdf document. But I am confused. Please let me know your thoughts on this.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 09:47:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1861339#M35102</guid>
      <dc:creator>shravani</dc:creator>
      <dc:date>2024-05-08T09:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Store User Specific value in the secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1862353#M35148</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227526"&gt;@shravani&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is how the CryptoKeyElementPersist works:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1715243848956.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277918i7350C07FAD1CA868/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1715243848956.png" alt="lukaszadrapa_0-1715243848956.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You use HSE keys, so CryptoKeyElementPersist is ignored and you can load a key only to NVM or to RAM key catalog as usual.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 08:38:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1862353#M35148</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-05-09T08:38:55Z</dc:date>
    </item>
  </channel>
</rss>

