<?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: S32K116 csecCMD_GET_STATUS in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K116-csecCMD-GET-STATUS/m-p/2258212#M55242</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257004"&gt;@xiaoweix&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It’s up to user to track the keys. There’s no flag which would inform you if a key is loaded or not. And because Memory Update Protocol must be followed to import or update a key, it not possible to “load a key again”. There’s a counter for each key which must be incremented if you want to update a key. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you try to load the same key again (I mean with the same counter, so M1-M3 values are the same) then the key update won’t be successful and you will get error ERC_KEY_UPDATE_ERROR. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There’s one workaround to check if a key slot is still empty or if it is already loaded. You can try to perform some operation (like encryption, decryption, CMAC generation…). If a key slot is empty, you will get ERC_KEY_EMPTY error. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Dec 2025 13:16:33 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2025-12-09T13:16:33Z</dc:date>
    <item>
      <title>S32K116 csecCMD_GET_STATUS</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-csecCMD-GET-STATUS/m-p/2257804#M55235</link>
      <description>&lt;P&gt;CSEc有什么硬件标志可以读到这个密钥槽已经加载过密钥了？现在想通过读一个硬件标志来判断已经加载过授权key或者key8了，就不在加载了， CMD_GET_STATUS这个命令可以实现吗？&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 08:58:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-csecCMD-GET-STATUS/m-p/2257804#M55235</guid>
      <dc:creator>xiaoweix</dc:creator>
      <dc:date>2025-12-09T08:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 csecCMD_GET_STATUS</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-csecCMD-GET-STATUS/m-p/2258212#M55242</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257004"&gt;@xiaoweix&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It’s up to user to track the keys. There’s no flag which would inform you if a key is loaded or not. And because Memory Update Protocol must be followed to import or update a key, it not possible to “load a key again”. There’s a counter for each key which must be incremented if you want to update a key. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you try to load the same key again (I mean with the same counter, so M1-M3 values are the same) then the key update won’t be successful and you will get error ERC_KEY_UPDATE_ERROR. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There’s one workaround to check if a key slot is still empty or if it is already loaded. You can try to perform some operation (like encryption, decryption, CMAC generation…). If a key slot is empty, you will get ERC_KEY_EMPTY error. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 13:16:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-csecCMD-GET-STATUS/m-p/2258212#M55242</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2025-12-09T13:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 csecCMD_GET_STATUS</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-csecCMD-GET-STATUS/m-p/2258495#M55253</link>
      <description>好的，谢谢啦</description>
      <pubDate>Wed, 10 Dec 2025 01:07:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-csecCMD-GET-STATUS/m-p/2258495#M55253</guid>
      <dc:creator>xiaoweix</dc:creator>
      <dc:date>2025-12-10T01:07:10Z</dc:date>
    </item>
  </channel>
</rss>

