<?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>S32KのトピックRe: Can I use an AES key stored in NVM as the source (IKM) for PBKDF2 without exposing it as plainte</title>
    <link>https://community.nxp.com/t5/S32K/Can-I-use-an-AES-key-stored-in-NVM-as-the-source-IKM-for-PBKDF2/m-p/2206288#M54555</link>
    <description>&lt;P&gt;Thank you.&lt;BR /&gt;I appreciate your support, and I will wait for your update.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Nov 2025 01:34:33 GMT</pubDate>
    <dc:creator>sochoi</dc:creator>
    <dc:date>2025-11-18T01:34:33Z</dc:date>
    <item>
      <title>Can I use an AES key stored in NVM as the source (IKM) for PBKDF2 without exposing it as plaintext?</title>
      <link>https://community.nxp.com/t5/S32K/Can-I-use-an-AES-key-stored-in-NVM-as-the-source-IKM-for-PBKDF2/m-p/2204143#M54430</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In my S32K3 project, I need to use an AES key stored in NVM as the input key material (IKM) for the HSE PBKDF2 service.&amp;nbsp;&lt;BR /&gt;AES Key usage was possible in HKDF.&lt;/P&gt;&lt;P&gt;However, according to the HSE Service API Reference Manual:&lt;BR /&gt;PBKDF2 requires the srcKeyHandle to be of type HSE_KEY_TYPE_SHARED_SECRET.&lt;BR /&gt;HSE_KEY_TYPE_SHARED_SECRET keys are only supported in RAM catalogs, not in NVM.&lt;/P&gt;&lt;P&gt;That means my AES key in NVM cannot be directly used as the PBKDF2 input.&lt;BR /&gt;To avoid exposing the key in plaintext, I tried:&lt;BR /&gt;Exporting the AES key as an enc&amp;amp;auth container,&lt;BR /&gt;Importing it into a RAM key slot,&lt;BR /&gt;Attempting to convert or copy it to a Shared-Secret slot (so it can be used as PBKDF2 input).&lt;/P&gt;&lt;P&gt;But the documentation does not describe any service to convert or copy an AES key to a Shared-Secret key type.&lt;BR /&gt;Key Derive – Copy Key and Import Key both require the same key type.&lt;/P&gt;&lt;P&gt;My question:&lt;BR /&gt;Is there any supported method to make an AES key (stored in NVM) usable as a PBKDF2 source without revealing it as plaintext?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 05:50:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-I-use-an-AES-key-stored-in-NVM-as-the-source-IKM-for-PBKDF2/m-p/2204143#M54430</guid>
      <dc:creator>sochoi</dc:creator>
      <dc:date>2025-11-13T05:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use an AES key stored in NVM as the source (IKM) for PBKDF2 without exposing it as plainte</title>
      <link>https://community.nxp.com/t5/S32K/Can-I-use-an-AES-key-stored-in-NVM-as-the-source-IKM-for-PBKDF2/m-p/2205279#M54502</link>
      <description>&lt;P&gt;In my opinion there is no service for such operation but let me discuss it with HSE experts. I will let you know.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 15:46:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-I-use-an-AES-key-stored-in-NVM-as-the-source-IKM-for-PBKDF2/m-p/2205279#M54502</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2025-11-14T15:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use an AES key stored in NVM as the source (IKM) for PBKDF2 without exposing it as plainte</title>
      <link>https://community.nxp.com/t5/S32K/Can-I-use-an-AES-key-stored-in-NVM-as-the-source-IKM-for-PBKDF2/m-p/2206288#M54555</link>
      <description>&lt;P&gt;Thank you.&lt;BR /&gt;I appreciate your support, and I will wait for your update.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 01:34:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-I-use-an-AES-key-stored-in-NVM-as-the-source-IKM-for-PBKDF2/m-p/2206288#M54555</guid>
      <dc:creator>sochoi</dc:creator>
      <dc:date>2025-11-18T01:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use an AES key stored in NVM as the source (IKM) for PBKDF2 without exposing it as plainte</title>
      <link>https://community.nxp.com/t5/S32K/Can-I-use-an-AES-key-stored-in-NVM-as-the-source-IKM-for-PBKDF2/m-p/2212811#M54642</link>
      <description>&lt;P&gt;It should be possible. I am forwarding an answer as I have obtained it:&lt;/P&gt;
&lt;P&gt;"You can do this by specifying a key handle to the key derivation service of the HSE. That key handle can point to an AES key that has been provisioned to secure NVM.&lt;/P&gt;
&lt;P&gt;Take a look at the HSE_PBKDF2Req_Example(void) function in the HSE demo app. for the source key, instead of specifying a RAM key handle, you can instead refer to the handle of an NVM key."&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 17:08:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-I-use-an-AES-key-stored-in-NVM-as-the-source-IKM-for-PBKDF2/m-p/2212811#M54642</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2025-11-19T17:08:44Z</dc:date>
    </item>
  </channel>
</rss>

