<?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: imx6ul： RSA 2048 bit key generation in CAAM acceleration in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-RSA-2048-bit-key-generation-in-CAAM-acceleration/m-p/1646654#M205469</link>
    <description>&lt;P&gt;Got it ,thanks for your support&lt;/P&gt;</description>
    <pubDate>Tue, 09 May 2023 01:26:05 GMT</pubDate>
    <dc:creator>juan_tang</dc:creator>
    <dc:date>2023-05-09T01:26:05Z</dc:date>
    <item>
      <title>imx6ul： RSA 2048 bit key generation in CAAM acceleration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-RSA-2048-bit-key-generation-in-CAAM-acceleration/m-p/1645178#M205292</link>
      <description>&lt;P&gt;HI sir,&lt;/P&gt;&lt;P&gt;Platform：imx6ul&lt;/P&gt;&lt;P&gt;BSP:L4.1.15_ 2.0.0_ GA's patch&lt;/P&gt;&lt;P&gt;Function:RSA 2048 bit key generation in CAAM acceleration&lt;/P&gt;&lt;P&gt;Need support:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I refer to the three patches in the link below,&lt;/P&gt;&lt;P&gt;#&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Enhance-cryptodev-and-its-engine-in-OpenSSL-by-CAAM-s-public-key/ta-p/1101000" target="_blank"&gt;Enhance cryptodev and its engine in OpenSSL by CAA... - NXP Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20230505105930.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221893i90036D66FBC2145F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="微信图片_20230505105930.png" alt="微信图片_20230505105930.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then RSA acceleration, found that the generated key is invalid. checking the code, I feel like In function cryptodev_bn_miller_rabin( ) ,The return value judgment of the function cryptodev_bn_check_small_factors( ) is not comprehensive and may result in misjudgment. After trying to make the corrections, the key generated is normal, but the speed is slower than that of OpenSSL pure software. How fast can I generate 2048bit keys by using RSA hardware acceleration normally? Is there an optimized version of this patch?&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 03:08:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-RSA-2048-bit-key-generation-in-CAAM-acceleration/m-p/1645178#M205292</guid>
      <dc:creator>juan_tang</dc:creator>
      <dc:date>2023-05-05T03:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul： RSA 2048 bit key generation in CAAM acceleration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-RSA-2048-bit-key-generation-in-CAAM-acceleration/m-p/1645263#M205306</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;he return value judgment of the function cryptodev_bn_check_small_factors( ) is not comprehensive and may result in misjudgment. After trying to make the corrections, the key generated is normal,&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Could you provide your variant, please?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;but the speed is slower than that of OpenSSL pure software.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Hashes and encryption are as well slower for smaller data blocks, yet it still offloads CPU and CPU can do other tasks while waiting for crypto result. If you generate just few RSA keys, it may have no sense to use CAAM for RSA, it depends on app.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 06:53:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-RSA-2048-bit-key-generation-in-CAAM-acceleration/m-p/1645263#M205306</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2023-05-05T06:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul： RSA 2048 bit key generation in CAAM acceleration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-RSA-2048-bit-key-generation-in-CAAM-acceleration/m-p/1646274#M205425</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/32301"&gt;@juan_tang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Use cryptodev, mainly offload CPU at present.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;The performance is not as good as the CPU.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Harvey&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 08:54:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-RSA-2048-bit-key-generation-in-CAAM-acceleration/m-p/1646274#M205425</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-05-08T08:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul： RSA 2048 bit key generation in CAAM acceleration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-RSA-2048-bit-key-generation-in-CAAM-acceleration/m-p/1646654#M205469</link>
      <description>&lt;P&gt;Got it ,thanks for your support&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 01:26:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-RSA-2048-bit-key-generation-in-CAAM-acceleration/m-p/1646654#M205469</guid>
      <dc:creator>juan_tang</dc:creator>
      <dc:date>2023-05-09T01:26:05Z</dc:date>
    </item>
  </channel>
</rss>

