<?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 AES-GCM performance on SE05x in Secure Authentication</title>
    <link>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2177255#M1869</link>
    <description>&lt;P&gt;I am testing the capabilities of the &lt;LI-PRODUCT title="SE050" id="SE050"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;on an &lt;LI-PRODUCT title="OM-SE050X" id="OM-SE050X"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;development board, and I have a question about the speed of the AES-GCM operation. It seems that when running a one-shot AES-GCM encryption with AAD, followed by decryption, the process takes around 8 to 9 seconds, even with small inputs in one-shot mode&lt;/P&gt;&lt;P&gt;I found a similar thread here discussing the same issue:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Secure-Authentication/Re-SE050E-aead-encryption/m-p/1694085#M1317" target="_blank"&gt;https://community.nxp.com/t5/Secure-Authentication/Re-SE050E-aead-encryption/m-p/1694085#M1317&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The response there indicated that this is indeed expected, since the GCM part is not hardware-accelerated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can you please confirm whether this speed is normal, and whether there is any way to improve performance, or if software-based GCM will remain at this speed regardless?&lt;/LI&gt;&lt;LI&gt;Regarding the &lt;LI-PRODUCT title="SE051" id="SE051"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;(or SE052), do these chips provide hardware acceleration for GCM, or any improvements in the speed of this operation?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
    <pubDate>Mon, 29 Sep 2025 07:39:00 GMT</pubDate>
    <dc:creator>Viktro0929</dc:creator>
    <dc:date>2025-09-29T07:39:00Z</dc:date>
    <item>
      <title>AES-GCM performance on SE05x</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2177255#M1869</link>
      <description>&lt;P&gt;I am testing the capabilities of the &lt;LI-PRODUCT title="SE050" id="SE050"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;on an &lt;LI-PRODUCT title="OM-SE050X" id="OM-SE050X"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;development board, and I have a question about the speed of the AES-GCM operation. It seems that when running a one-shot AES-GCM encryption with AAD, followed by decryption, the process takes around 8 to 9 seconds, even with small inputs in one-shot mode&lt;/P&gt;&lt;P&gt;I found a similar thread here discussing the same issue:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Secure-Authentication/Re-SE050E-aead-encryption/m-p/1694085#M1317" target="_blank"&gt;https://community.nxp.com/t5/Secure-Authentication/Re-SE050E-aead-encryption/m-p/1694085#M1317&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The response there indicated that this is indeed expected, since the GCM part is not hardware-accelerated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can you please confirm whether this speed is normal, and whether there is any way to improve performance, or if software-based GCM will remain at this speed regardless?&lt;/LI&gt;&lt;LI&gt;Regarding the &lt;LI-PRODUCT title="SE051" id="SE051"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;(or SE052), do these chips provide hardware acceleration for GCM, or any improvements in the speed of this operation?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 07:39:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2177255#M1869</guid>
      <dc:creator>Viktro0929</dc:creator>
      <dc:date>2025-09-29T07:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: AES-GCM performance on SE05x</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2177382#M1870</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255333"&gt;@Viktro0929&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was it AES GCM 128 or 256? What about the data/AAD/IV length? From the test cases we have run,&amp;nbsp;&lt;SPAN&gt;8 to 9 seconds is little longer, what is the host controller you are using? Please kindly clarify.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 09:52:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2177382#M1870</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-09-29T09:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: AES-GCM performance on SE05x</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2177546#M1871</link>
      <description>&lt;P&gt;I am using test vectors from&amp;nbsp;Test Case 3 of the following document:&lt;BR /&gt;&lt;A href="https://csrc.nist.rip/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-revised-spec.pdf" target="_self"&gt;https://csrc.nist.rip/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-revised-spec.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Configuration details:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;AES-GCM 128-bit (16-byte key length)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Data length: 60 bytes&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;AAD length: 20 bytes&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;IV length: 12 bytes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My &lt;LI-PRODUCT title="OM-SE050X" id="OM-SE050X"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;is connected to an ATSAMV71Q21 via I²C running at 100 kHz.&lt;/P&gt;&lt;P&gt;I have attached a screenshot of a typical encryption. As shown, after the initial setup, the host sends the plaintext and AAD, and the SE subsequently requests 5 WTXs. The WTX time was calculated based on the ATR response and the WTX message itself (as described in UM11225.pdf).&lt;/P&gt;&lt;P&gt;In total, the encryption process (including setup) took just under 7 seconds, of which about 1 second was spent in setup.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="se050-aesgcm-logicanalyzer.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358921i2EBA51D7490E57BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="se050-aesgcm-logicanalyzer.PNG" alt="se050-aesgcm-logicanalyzer.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Viktor&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 15:03:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2177546#M1871</guid>
      <dc:creator>Viktro0929</dc:creator>
      <dc:date>2025-09-29T15:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: AES-GCM performance on SE05x</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2177900#M1872</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255333"&gt;@Viktro0929&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually our test case is a little bit different from yours, please kindly refer to the following for details.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;AES-GCM 128-bit (16-byte key length)&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Data length: 64 bytes&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;AAD length: 16 bytes&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;IV length: 16 bytes&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Both encrypt and decrypt took around 5.4 second. You may try the same on your side .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 05:44:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2177900#M1872</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-09-30T05:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: AES-GCM performance on SE05x</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2177949#M1873</link>
      <description>&lt;P&gt;Thank you, I will try this out when I have some free time.&lt;/P&gt;&lt;P&gt;Beforehand, could you please clarify the second part of my original question? Specifically:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Regarding the SE051 (or SE052), do these chips provide hardware acceleration for GCM, or any improvements in the speed of this operation compared to the SE050?&lt;/LI&gt;&lt;LI&gt;If yes, how much faster is the performance compared to SE050 for similar message sizes, such as your test case?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 30 Sep 2025 06:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2177949#M1873</guid>
      <dc:creator>Viktro0929</dc:creator>
      <dc:date>2025-09-30T06:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: AES-GCM performance on SE05x</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2180412#M1876</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Just following up on my earlier message about the SE051/SE052. Could you please clarify whether these devices have any hardware acceleration for GCM, or performance improvements over the SE050? If so, by how much?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 07:57:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2180412#M1876</guid>
      <dc:creator>Viktro0929</dc:creator>
      <dc:date>2025-10-06T07:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: AES-GCM performance on SE05x</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2183625#M1881</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255333"&gt;@Viktro0929&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, just as I mentioned before, for AES-GCM performance on SE05x, only the AES operation is HW-accelerated, the Galois-Counter is not accelerated. and the performance of AES GCM scales mainly with the size of data to be processed and not with the size of the key &lt;BR /&gt;(data to be encrypted and additional authentication data (AAD))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that makes sense,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 07:12:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/AES-GCM-performance-on-SE05x/m-p/2183625#M1881</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-10-10T07:12:25Z</dc:date>
    </item>
  </channel>
</rss>

