<?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>Secure AuthenticationのトピックRe: SE050E aead encryption maximum length</title>
    <link>https://community.nxp.com/t5/Secure-Authentication/SE050E-aead-encryption-maximum-length/m-p/1756601#M1440</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220688"&gt;@Zarein94&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I expect AES GCM is in this case not needed directly for WiFi authentication but instead for some proprietary protocol transmitted over WiFi?&lt;/P&gt;
&lt;P&gt;AEAD is just a mechanism to have data both encrypted and MACed. What are the alternatives depends on the goal to be reached. Just for encryption either AES-CBC or AES-CTR is as good as AES-GCM but much faster on the secure element. For MACing a CMAC/HMAC or a asymmetric signature could be used.&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>Tue, 14 Nov 2023 02:42:00 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2023-11-14T02:42:00Z</dc:date>
    <item>
      <title>SE050E aead encryption maximum length</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050E-aead-encryption-maximum-length/m-p/1733715#M1373</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have developed a crypto service using the secure element S050E. We use aead encryption (AES_GCM) algorithm. I already asked in&amp;nbsp;&lt;LI-MESSAGE title="Re: SE050E aead encryption" uid="1694085" url="https://community.nxp.com/t5/Secure-Authentication/Re-SE050E-aead-encryption/m-p/1694085#U1694085" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp; about the low speed of this process. Right now we are also experiencing a maximum block size for the input data we can have encrypted/decrypted. It is around around 400 bytes. In the table below I see that this maximum is around 256 bytes. I have the following questions:&lt;BR /&gt;&lt;BR /&gt;1. What is the exact maximum input data length?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Is there any work around?&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Is there an algorithm as secure as this, so we the amount of data can be encrypted is larger and also much faster than aead (like in order of ms).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zarein94_0-1696420587026.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243605iEE0421623AB5DAD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zarein94_0-1696420587026.png" alt="Zarein94_0-1696420587026.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 11:59:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050E-aead-encryption-maximum-length/m-p/1733715#M1373</guid>
      <dc:creator>Zarein94</dc:creator>
      <dc:date>2023-10-04T11:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: SE050E aead encryption maximum length</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050E-aead-encryption-maximum-length/m-p/1739918#M1383</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220688"&gt;@Zarein94&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you are looking at the method of&amp;nbsp;&lt;SPAN class="highlighted"&gt;Aead&lt;/SPAN&gt;&lt;SPAN&gt;OneShot, which has length limitation due to the APDU command spec, so for length larger than 256 bytes input , you may use the method of&amp;nbsp;&lt;SPAN class="highlighted"&gt;Aead&lt;/SPAN&gt;Update, and the data input may be divided into multiple&amp;nbsp;&lt;SPAN class="highlighted"&gt;Aead&lt;/SPAN&gt;Update commands.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope that makes sense,&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, 16 Oct 2023 02:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050E-aead-encryption-maximum-length/m-p/1739918#M1383</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2023-10-16T02:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: SE050E aead encryption maximum length</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050E-aead-encryption-maximum-length/m-p/1745752#M1412</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp; As the AEAD encryption is quite slow in the secure element. Could you point me to some faster algorithm using secure element and It is as reliable and secure as AES_GCM for wifi cryptography.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 11:54:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050E-aead-encryption-maximum-length/m-p/1745752#M1412</guid>
      <dc:creator>Zarein94</dc:creator>
      <dc:date>2023-10-25T11:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: SE050E aead encryption maximum length</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050E-aead-encryption-maximum-length/m-p/1756601#M1440</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220688"&gt;@Zarein94&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I expect AES GCM is in this case not needed directly for WiFi authentication but instead for some proprietary protocol transmitted over WiFi?&lt;/P&gt;
&lt;P&gt;AEAD is just a mechanism to have data both encrypted and MACed. What are the alternatives depends on the goal to be reached. Just for encryption either AES-CBC or AES-CTR is as good as AES-GCM but much faster on the secure element. For MACing a CMAC/HMAC or a asymmetric signature could be used.&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>Tue, 14 Nov 2023 02:42:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050E-aead-encryption-maximum-length/m-p/1756601#M1440</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2023-11-14T02:42:00Z</dc:date>
    </item>
  </channel>
</rss>

