<?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: [Security] D-Flash CSE driver encryption/decryption interface limitations in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1858751#M34922</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218898"&gt;@Gideon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not sure what's going on.&lt;/P&gt;
&lt;P&gt;First step - did you try to disable interrupts? Second step - you can try to find out what is the reason of the fault exactly:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12201.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12201.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2024 05:03:00 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2024-05-03T05:03:00Z</dc:date>
    <item>
      <title>[Security] D-Flash CSE driver encryption/decryption interface limitations</title>
      <link>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1848763#M34297</link>
      <description>&lt;P&gt;Dear NXPs：&lt;/P&gt;&lt;P&gt;Bootloader- D-Flash-32K&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are there any restrictions if I call CSEC_DRV_EncryptCBC/CSEC_DRV_DecryptCBC interfaces of the CSEc driver on D-Flash?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 06:47:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1848763#M34297</guid>
      <dc:creator>Gideon</dc:creator>
      <dc:date>2024-04-17T06:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: [Security] D-Flash CSE driver encryption/decryption interface limitations</title>
      <link>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1850844#M34419</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218898"&gt;@Gideon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If we are talking about CSEc commands CMD_ENC_CBC and CMD_DEC_CBC, there are no limitations because it is up to software to load plain/encrypted data to CSEc via PRAM interface and then read encrypted/plain data from PRAM. So, software can read the data from anywhere. Mentioned SDK function do not check the addresses, so it can read the data from whole memory map. Just the output buffer needs to be in RAM, of course, so the driver can write the result to the buffer.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 15:34:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1850844#M34419</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-04-19T15:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: [Security] D-Flash CSE driver encryption/decryption interface limitations</title>
      <link>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1858157#M34871</link>
      <description>Dear lukaszadrapa：&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&lt;BR /&gt;NXP S32K142 executes CSEC_CMD_ENC_CBC command in D-Flash, but PUBWEAK HardFault_Handler occurs&lt;BR /&gt;SECTION .text:CODE:REORDER:NOROOT(1)&lt;BR /&gt;HardFault_Handler&lt;BR /&gt;B. Error. There is no problem with IAR Debug single-step execution, but the above HardFault will occur when F5 is executed at full speed, which is very strange.</description>
      <pubDate>Thu, 02 May 2024 02:00:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1858157#M34871</guid>
      <dc:creator>Gideon</dc:creator>
      <dc:date>2024-05-02T02:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: [Security] D-Flash CSE driver encryption/decryption interface limitations</title>
      <link>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1858751#M34922</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218898"&gt;@Gideon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not sure what's going on.&lt;/P&gt;
&lt;P&gt;First step - did you try to disable interrupts? Second step - you can try to find out what is the reason of the fault exactly:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12201.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12201.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 05:03:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1858751#M34922</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-05-03T05:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: [Security] D-Flash CSE driver encryption/decryption interface limitations</title>
      <link>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1863445#M35216</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear lukaszadrapa：&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795" target="_blank" rel="noopener"&gt;@lukaszadrapa&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A1:&lt;SPAN&gt;Disabling interrupts has no effect.The interface I use is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INT_SYS_DisableIRQGlobal&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INT_SYS_EnableIRQGlobal&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;A2: IBUSSERR&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;P&gt;By the way&amp;nbsp;Viewed the manual S32K-RM.pdf Table 37-7. Allowed simultaneous memory operations,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are limitations in operating CSE PRAM on D-Flash，&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Could IBUSSERR be related to this?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gideon_1-1715340768594.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/278229i1B574313A6D13877/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gideon_1-1715340768594.png" alt="Gideon_1-1715340768594.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 May 2024 00:59:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1863445#M35216</guid>
      <dc:creator>Gideon</dc:creator>
      <dc:date>2024-05-16T00:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: [Security] D-Flash CSE driver encryption/decryption interface limitations</title>
      <link>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1866056#M35387</link>
      <description>&lt;P&gt;I haven't met this use-case yet but I can see in the manual that you are right. It explicitly says:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1715759187636.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/278855iB81FB27914B2065C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1715759187636.png" alt="lukaszadrapa_0-1715759187636.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;If your code is running from data flash, solution is to put the function to RAM memory.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 07:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Security-D-Flash-CSE-driver-encryption-decryption-interface/m-p/1866056#M35387</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-05-15T07:47:15Z</dc:date>
    </item>
  </channel>
</rss>

