<?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: S32K3 HSE: Export EDDSA Public Key in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K3-HSE-Export-EDDSA-Public-Key/m-p/2189916#M53722</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255983"&gt;@MHan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can see nothing wrong in those parameters. Because the public ECC key is exported in plain and not authenticated, did you configured cipherKeyHandle and authKeyHandle as HSE_INVALID_KEY_HANDLE (0xFFFFFFFF)? Setting of HSE_INVALID_KEY_HANDLE to these key handles ensures that authentication and encryption parameters are ignored. &lt;BR /&gt;Also try to disable data cache to confirm it is not cache issue.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
    <pubDate>Tue, 21 Oct 2025 10:56:35 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2025-10-21T10:56:35Z</dc:date>
    <item>
      <title>S32K3 HSE: Export EDDSA Public Key</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-HSE-Export-EDDSA-Public-Key/m-p/2189425#M53698</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am able to generate an ED25519 key pair with the Key Generation Service, and I would like to be able to export the public key later with the Key Export Service. However, the HSE returns a HSE_SRV_RSP_NOT_ALLOWED when I attempt to export the public key.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;When I generate the key I use the following parameters:&lt;/FONT&gt;&lt;BR /&gt;Service ID: HSE_SRV_ID_KEY_GENERATE&lt;BR /&gt;&lt;BR /&gt;targetKeyHandle = key_handle;&lt;BR /&gt;&lt;BR /&gt;keyInfo:&lt;BR /&gt;keyFlags = HSE_KF_USAGE_SIGN | HSE_KF_USAGE_VERIFY | HSE_KF_ACCESS_EXPORTABLE&lt;BR /&gt;keyBitLen = HSE_KEY256_BITS&lt;BR /&gt;keyCounter = 0&lt;BR /&gt;smrFlags = 0&lt;BR /&gt;keyType = HSE_KEY_TYPE_ECC_PAIR&lt;BR /&gt;specific.eccCurveId = HSE_EC_25519_ED25519&lt;BR /&gt;&lt;BR /&gt;keyGenScheme = HSE_KEY_GEN_ECC_KEY_PAIR&lt;BR /&gt;&lt;BR /&gt;sch.eccKey.pPubKey = (HOST_ADDR)pub_key_output_ptr;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;And when I export the key:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;Service ID:&amp;nbsp;HSE_SRV_ID_EXPORT_KEY&lt;BR /&gt;&lt;BR /&gt;targetKeyHandle = key_handle; // Same Key Handle&lt;BR /&gt;&lt;BR /&gt;keyInfo:&lt;BR /&gt;keyFlags = HSE_KF_USAGE_VERIFY | HSE_KF_ACCESS_EXPORTABLE&lt;BR /&gt;keyBitLen = HSE_KEY256_BITS&lt;BR /&gt;keyCounter = 0&lt;BR /&gt;smrFlags = 0&lt;BR /&gt;keyType = HSE_KEY_TYPE_ECC_PAIR&lt;BR /&gt;specific.eccCurveId = HSE_EC_25519_ED25519&lt;BR /&gt;&lt;BR /&gt;pKey[0] = (HOST_ADDR)pub_key_output_ptr;&lt;BR /&gt;pKeyLen[0] = (HOST_ADDR)&amp;amp;g_identity_key_len;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Are there any parameter's that are missing or configured incorrectly?&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 22:28:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-HSE-Export-EDDSA-Public-Key/m-p/2189425#M53698</guid>
      <dc:creator>MHan</dc:creator>
      <dc:date>2025-10-20T22:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 HSE: Export EDDSA Public Key</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-HSE-Export-EDDSA-Public-Key/m-p/2189916#M53722</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255983"&gt;@MHan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can see nothing wrong in those parameters. Because the public ECC key is exported in plain and not authenticated, did you configured cipherKeyHandle and authKeyHandle as HSE_INVALID_KEY_HANDLE (0xFFFFFFFF)? Setting of HSE_INVALID_KEY_HANDLE to these key handles ensures that authentication and encryption parameters are ignored. &lt;BR /&gt;Also try to disable data cache to confirm it is not cache issue.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 10:56:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-HSE-Export-EDDSA-Public-Key/m-p/2189916#M53722</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2025-10-21T10:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 HSE: Export EDDSA Public Key</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-HSE-Export-EDDSA-Public-Key/m-p/2192016#M53807</link>
      <description>&lt;P&gt;Thank you Lukas, I was missing setting the&amp;nbsp;&lt;SPAN&gt;HSE_INVALID_KEY_HANDLE's. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I see now in the header files:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Must be set to #HSE_INVALID_KEY_HANDLE if not used.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 23:25:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-HSE-Export-EDDSA-Public-Key/m-p/2192016#M53807</guid>
      <dc:creator>MHan</dc:creator>
      <dc:date>2025-10-23T23:25:46Z</dc:date>
    </item>
  </channel>
</rss>

