<?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: SE050 MbedTLS ALT questions in Secure Authentication</title>
    <link>https://community.nxp.com/t5/Secure-Authentication/SE050-MbedTLS-ALT-questions/m-p/2071567#M1813</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248310"&gt;@kennychiu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please kindly have my comments as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;1. Are there any plans to support more cryptos in the near future?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;- That is decided by the product management, so far we have no idea about it, but I will pass your request to the PM side.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;2. Would you please provide suggestions on how to implement an AES ALT?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;• Is there any reference code for AES encryption/decryption?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;- Yes, please refer to the demo of ex_symmetric for details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;• How should key IDs be managed in this multiple-session-key scenario?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;- From my personal understanding, different ID should be used, and the key type should be&amp;nbsp;Transient type to avoid NVM consumption.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&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, 01 Apr 2025 02:38:27 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2025-04-01T02:38:27Z</dc:date>
    <item>
      <title>SE050 MbedTLS ALT questions</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-MbedTLS-ALT-questions/m-p/2065700#M1807</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using EdgeLock SE05x Plug &amp;amp; Trust Middleware (version 04.07.00) and have encountered some questions regarding the MbedTLS ALT use.&lt;/P&gt;&lt;P&gt;1. ALT Support Scope&lt;BR /&gt;Does the ALT implementation support all Cryptography modules in MbedTLS versions 2.x/3.x? For example, AES_CBC, AES_GCM, and other encryption modes.&lt;/P&gt;&lt;P&gt;2. KEY ID Management&lt;BR /&gt;When an HTTPS server performs a TLS handshake using MbedTLS, if there are multiple simultaneous HTTPS connections and each connection’s session key is AES, how should the KEY ID be managed under the SE050 MbedTLS AES ALT scenario?&lt;BR /&gt;- If the same KEY ID is used, the key must be reset for every encryption/decryption operation. How is this handled when multiple threads execute concurrently?&lt;BR /&gt;- If different KEY IDs are used, how should they be managed?&lt;/P&gt;&lt;P&gt;3. Reference Key&lt;BR /&gt;In ecdsa_sign_alt.c, mbedtls_ecdsa_sign() checks whether the private key is a Reference Key. Does this imply that during HTTPS server initialization, the certificate’s public and private keys must be stored in SE050, and then a separate Reference Key is generated and passed to MbedTLS?&lt;/P&gt;&lt;P&gt;Thank you for your assistance!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 16:25:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-MbedTLS-ALT-questions/m-p/2065700#M1807</guid>
      <dc:creator>kennychiu</dc:creator>
      <dc:date>2025-03-20T16:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 MbedTLS ALT questions</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-MbedTLS-ALT-questions/m-p/2066043#M1809</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248310"&gt;@kennychiu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please kindly have my comments as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. ALT Support Scope&lt;BR /&gt;Does the ALT implementation support all Cryptography modules in MbedTLS versions 2.x/3.x? For example, AES_CBC, AES_GCM, and other encryption modes.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;- As of now, only ECDSA, RSA Sign and Verify, ECDH, and RNG are provided in ALT implementation. Not all cryptos. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2. KEY ID Management&lt;BR /&gt;When an HTTPS server performs a TLS handshake using MbedTLS, if there are multiple simultaneous HTTPS connections and each connection’s session key is AES, how should the KEY ID be managed under the SE050 MbedTLS AES ALT scenario?&lt;BR /&gt;- If the same KEY ID is used, the key must be reset for every encryption/decryption operation. How is this handled when multiple threads execute concurrently?&lt;BR /&gt;- If different KEY IDs are used, how should they be managed?&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&lt;STRONG&gt;There is no AES ALT for SE050.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;3. Reference Key&lt;BR /&gt;In ecdsa_sign_alt.c, mbedtls_ecdsa_sign() checks whether the private key is a Reference Key. Does this imply that during HTTPS server initialization, the certificate’s public and private keys must be stored in SE050, and then a separate Reference Key is generated and passed to MbedTLS?&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Yes. Correct. Reference key for Private key in SE is to be created.&amp;nbsp;Only Private key must be stored in SE. Storing Certificate is not required.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&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, 21 Mar 2025 06:11:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-MbedTLS-ALT-questions/m-p/2066043#M1809</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-03-21T06:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 MbedTLS ALT questions</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-MbedTLS-ALT-questions/m-p/2066195#M1810</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;Hi Kan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I hope you don’t mind me asking a few more questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;1. Are there any plans to support more cryptos in the near future?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;2. Would you please provide suggestions on how to implement an AES ALT? &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;• Is there any reference code for AES encryption/decryption?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;• How should key IDs be managed in this multiple-session-key scenario?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thank you very much for your assistance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Kenny&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 09:04:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-MbedTLS-ALT-questions/m-p/2066195#M1810</guid>
      <dc:creator>kennychiu</dc:creator>
      <dc:date>2025-03-21T09:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 MbedTLS ALT questions</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-MbedTLS-ALT-questions/m-p/2071567#M1813</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248310"&gt;@kennychiu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please kindly have my comments as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;1. Are there any plans to support more cryptos in the near future?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;- That is decided by the product management, so far we have no idea about it, but I will pass your request to the PM side.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;2. Would you please provide suggestions on how to implement an AES ALT?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;• Is there any reference code for AES encryption/decryption?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;- Yes, please refer to the demo of ex_symmetric for details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;• How should key IDs be managed in this multiple-session-key scenario?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;- From my personal understanding, different ID should be used, and the key type should be&amp;nbsp;Transient type to avoid NVM consumption.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&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, 01 Apr 2025 02:38:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-MbedTLS-ALT-questions/m-p/2071567#M1813</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2025-04-01T02:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 MbedTLS ALT questions</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-MbedTLS-ALT-questions/m-p/2072540#M1815</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;Hi Kan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;Thank you for your assistance.&lt;BR /&gt;If I have any further questions, I will contact you.&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Kenny&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 05:20:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-MbedTLS-ALT-questions/m-p/2072540#M1815</guid>
      <dc:creator>kennychiu</dc:creator>
      <dc:date>2025-04-02T05:20:33Z</dc:date>
    </item>
  </channel>
</rss>

