<?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: Read a key from secure NVM in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Read-a-key-from-secure-NVM/m-p/1857352#M34824</link>
    <description>&lt;P&gt;It cannot be done as a key stored in the secure NVM cannot be exported.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 08:13:11 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2024-04-30T08:13:11Z</dc:date>
    <item>
      <title>Read a key from secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Read-a-key-from-secure-NVM/m-p/1853362#M34594</link>
      <description>&lt;P&gt;Hi, I wanted to read a key from secure NVM, is it possible to read back a key? I want to use this key further in my application. I checked the RTD firmware there is only one service for exporting key from RAM. Also, in the Firmware reference manual of HSE it is mentioned that SHE NVM keys cannot be exported. How could I use stored key in my application?&lt;/P&gt;&lt;P&gt;Please check below details.&lt;/P&gt;&lt;P&gt;1) Microcontroller: S32K312_100MQFP&lt;/P&gt;&lt;P&gt;2) IDE: S32DS 3.5 &amp;nbsp;&lt;/P&gt;&lt;P&gt;3) SDK Version:&amp;nbsp;PlatformSDK_S32K3_2022_03&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shravani_0-1713953011681.png" style="width: 580px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275529i7DC4E444EA7DD73F/image-dimensions/580x238?v=v2" width="580" height="238" role="button" title="shravani_0-1713953011681.png" alt="shravani_0-1713953011681.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shravani_1-1713953028240.png" style="width: 681px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275530i96F25CCA7D504571/image-dimensions/681x92?v=v2" width="681" height="92" role="button" title="shravani_1-1713953028240.png" alt="shravani_1-1713953028240.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 10:05:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Read-a-key-from-secure-NVM/m-p/1853362#M34594</guid>
      <dc:creator>shravani</dc:creator>
      <dc:date>2024-04-24T10:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Read a key from secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Read-a-key-from-secure-NVM/m-p/1854735#M34660</link>
      <description>&lt;P&gt;It is stated in section&lt;BR /&gt;6.3.6.2 SHE key update policies&lt;/P&gt;
&lt;P&gt;"When RAM_KEY is updated with the SHE key update protocol, it cannot be exported, until it is updated in plain via the key import service or via the SHE plain key update."&lt;/P&gt;
&lt;P&gt;"NVM SHE keys cannot be exported." as you already screenshot.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 11:56:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Read-a-key-from-secure-NVM/m-p/1854735#M34660</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-04-25T11:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Read a key from secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Read-a-key-from-secure-NVM/m-p/1854742#M34662</link>
      <description>&lt;P&gt;Hi, I want to apply AES 128 encryption on the key which is stored in the secure NVM. How could I achieve this?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 12:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Read-a-key-from-secure-NVM/m-p/1854742#M34662</guid>
      <dc:creator>shravani</dc:creator>
      <dc:date>2024-04-25T12:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Read a key from secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Read-a-key-from-secure-NVM/m-p/1857352#M34824</link>
      <description>&lt;P&gt;It cannot be done as a key stored in the secure NVM cannot be exported.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 08:13:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Read-a-key-from-secure-NVM/m-p/1857352#M34824</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-04-30T08:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Read a key from secure NVM</title>
      <link>https://community.nxp.com/t5/S32K/Read-a-key-from-secure-NVM/m-p/2064546#M46960</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can not read AES key after import. I'm using NVM key handle.&lt;/P&gt;&lt;P&gt;Importing key is success. But export key is failed.&lt;/P&gt;&lt;P&gt;Is there anyone know how to solve this issue?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Here is my implementation:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;hseKeyInfo_t keyInfo = {0};&lt;BR /&gt;uint8_t sharedSecret[448];&lt;BR /&gt;uint16_t sharedSecretLen = 32;&lt;BR /&gt;void testFunction(void) {&lt;BR /&gt;hseSrvResponse_t hseResponse = HSE_SRV_RSP_GENERAL_ERROR;&lt;BR /&gt;hseResponse = ExportPlainSymKeyReq( EXAMPLE_NVM_KEY_HANDLE,&lt;BR /&gt;&amp;amp;keyInfo, sharedSecret, &amp;amp;sharedSecretLen);&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Mar 2025 09:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Read-a-key-from-secure-NVM/m-p/2064546#M46960</guid>
      <dc:creator>HaiHoangSoftware</dc:creator>
      <dc:date>2025-03-19T09:01:20Z</dc:date>
    </item>
  </channel>
</rss>

