<?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 key injection in S32K</title>
    <link>https://community.nxp.com/t5/S32K/key-injection/m-p/2347210#M57787</link>
    <description>&lt;P&gt;I have two questions regarding key injection in the S32K388:&lt;/P&gt;&lt;P&gt;1. When I create an NVM Key Catalog of type AES and then call Crypto_43_HSE_Ipw_FormatKeyCatalogs to format it, I receive the error HSE_SRV_RSP_NOT_ALLOWED. The crypto driver documentation indicates that non-SHE types can be added after SHE types. Is it permissible, therefore, to configure an AES key catalog within the NVM Key Catalog?&lt;/P&gt;&lt;P&gt;2. When attempting to set a plaintext key inside a RAM catalog of type SHE, I receive the error HSE_SRV_RSP_INVALID_PARAM. However, the operation passes when setting a plaintext key in a RAM catalog of type AES. The documentation suggests the main difference between AES and SHE RAM catalogs is their size, and I configured both with a 128-key size. Why is the operation successful for AES but not for SHE?&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2026 12:27:33 GMT</pubDate>
    <dc:creator>yahyatarek</dc:creator>
    <dc:date>2026-04-08T12:27:33Z</dc:date>
    <item>
      <title>key injection</title>
      <link>https://community.nxp.com/t5/S32K/key-injection/m-p/2347210#M57787</link>
      <description>&lt;P&gt;I have two questions regarding key injection in the S32K388:&lt;/P&gt;&lt;P&gt;1. When I create an NVM Key Catalog of type AES and then call Crypto_43_HSE_Ipw_FormatKeyCatalogs to format it, I receive the error HSE_SRV_RSP_NOT_ALLOWED. The crypto driver documentation indicates that non-SHE types can be added after SHE types. Is it permissible, therefore, to configure an AES key catalog within the NVM Key Catalog?&lt;/P&gt;&lt;P&gt;2. When attempting to set a plaintext key inside a RAM catalog of type SHE, I receive the error HSE_SRV_RSP_INVALID_PARAM. However, the operation passes when setting a plaintext key in a RAM catalog of type AES. The documentation suggests the main difference between AES and SHE RAM catalogs is their size, and I configured both with a 128-key size. Why is the operation successful for AES but not for SHE?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 12:27:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/key-injection/m-p/2347210#M57787</guid>
      <dc:creator>yahyatarek</dc:creator>
      <dc:date>2026-04-08T12:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: key injection</title>
      <link>https://community.nxp.com/t5/S32K/key-injection/m-p/2347322#M57790</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/261482"&gt;@yahyatarek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Yes, you can have AES key in the NVM catalog. &lt;BR /&gt;There’s a set of rules how the catalog should be configured. This can be found in section “6.1.5 Key catalog” in HSE Firmware Reference Manual rev. 2.7. &lt;BR /&gt;There’s an example of NVM catalog on page 105 and there’s a list of reasons why the service can fail (page 106).&lt;/P&gt;
&lt;P&gt;2. There are specific rules for SHE keys. This is described in section “6.3 Key management: SHE keys”. In short, SHE keys must be mapped to key group 0 and the group owner must be HSE_KEY_OWNER_ANY. Extended SHE keys must be mapped to key groups 1 – 4. If SHE keys are not used, you can map any keys to these groups. &lt;BR /&gt;You can have only one SHE RAM key which must be mapped to group 0 in RAM catalog. There’s an example in “6.3.4 Declaration example”:&lt;/P&gt;
&lt;P&gt;hseKeyGroupCfgEntry_t my_RAM_key_catalog[] = {&lt;BR /&gt;/* SHE keys */ {HSE_MU0_MASK, HSE_KEY_OWNER_ANY, HSE_KEY_TYPE_SHE, 1, 128}, /* RAM_KEY */&lt;BR /&gt;{0, 0, 0, 0, 0}&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;If this doesn’t help, please share your configuration of the catalogs.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 15:55:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/key-injection/m-p/2347322#M57790</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2026-04-08T15:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: key injection</title>
      <link>https://community.nxp.com/t5/S32K/key-injection/m-p/2349766#M57877</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;, thanks for your help. I just reviewed the section describing the NVM catalog, and it seems there are no major changes between us. I have attached my configuration; the only change is the key owner. I tried configuring it as 'ANY' or 'Custom,' but both failed during key formatting.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yahyatarek_0-1775995913692.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/382049i08B265323E945B89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yahyatarek_0-1775995913692.png" alt="yahyatarek_0-1775995913692.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yahyatarek_1-1775995936702.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/382050i795B8A425F5D3698/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yahyatarek_1-1775995936702.png" alt="yahyatarek_1-1775995936702.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yahyatarek_2-1775995987752.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/382051iCC913F8A5D9C882D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yahyatarek_2-1775995987752.png" alt="yahyatarek_2-1775995987752.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yahyatarek_3-1775996001575.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/382052i6076FB1A80EF0352/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yahyatarek_3-1775996001575.png" alt="yahyatarek_3-1775996001575.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Apr 2026 12:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/key-injection/m-p/2349766#M57877</guid>
      <dc:creator>yahyatarek</dc:creator>
      <dc:date>2026-04-12T12:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: key injection</title>
      <link>https://community.nxp.com/t5/S32K/key-injection/m-p/2352216#M58002</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;,&amp;nbsp;this is just a reminder that the configuration I shared is currently a blocker for me. If there are any incorrect configuration, could you please tell me which ones need fixing?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2026 09:39:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/key-injection/m-p/2352216#M58002</guid>
      <dc:creator>yahyatarek</dc:creator>
      <dc:date>2026-04-16T09:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: key injection</title>
      <link>https://community.nxp.com/t5/S32K/key-injection/m-p/2352397#M58011</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/261482"&gt;@yahyatarek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sorry, for some reason, I didn't get notification about your previous message from the system.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NVM AES key cannot use HSE_KEY_OWNER_ANY. This is reserved for RAM keys and for SHE keys. Just change it to HSE_KEY_OWNER_CUST or to HSE_KEY_OWNER_OEM depending on your needs and it will work as expected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2026 13:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/key-injection/m-p/2352397#M58011</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2026-04-16T13:54:50Z</dc:date>
    </item>
  </channel>
</rss>

