<?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>i.MX ProcessorsのトピックCannot build CryptoDev on IMX8 running with Debian Bookworm SO (FlexBuild docker)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-build-CryptoDev-on-IMX8-running-with-Debian-Bookworm-SO/m-p/2070256#M235606</link>
    <description>&lt;P class=""&gt;Hi everyone,&lt;/P&gt;&lt;P class=""&gt;I'm currently working with an i.MX8-based system running &lt;STRONG&gt;Debian Bookworm&lt;/STRONG&gt;. The kernel has already been compiled with CAAM support enabled, and I'm now trying to build the cryptodev_linux module as part of the security stack for my project.&lt;/P&gt;&lt;P class=""&gt;However, I'm encountering a series of unresolved symbol errors during the build process, especially related to cryptographic functions such as crypto_skcipher_encrypt, crypto_alloc_ahash, and others. I am following the instructions from &lt;STRONG&gt;FlexBuild&lt;/STRONG&gt; and using &lt;STRONG&gt;Docker&lt;/STRONG&gt; to facilitate the build process.&lt;/P&gt;&lt;P class=""&gt;Despite ensuring that the necessary kernel options related to &lt;STRONG&gt;CAAM&lt;/STRONG&gt; (Freescale Cryptographic Accelerator) and the &lt;STRONG&gt;cryptographic API&lt;/STRONG&gt; are enabled in the .config file, the error persists during the build of cryptodev_linux.&lt;/P&gt;&lt;P class=""&gt;I've included a screenshot of the error I am seeing below, which might provide more context on the issue when running "bld security" inside the docker container:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-03-28 113127.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/330284i75F73159FBD1DCA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-03-28 113127.png" alt="Screenshot 2025-03-28 113127.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;If anyone has experience with this or has faced similar issues while working with cryptographic modules on i.MX8, I would really appreciate your insights.&lt;/P&gt;&lt;P class=""&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Fri, 28 Mar 2025 10:41:06 GMT</pubDate>
    <dc:creator>raul22520</dc:creator>
    <dc:date>2025-03-28T10:41:06Z</dc:date>
    <item>
      <title>Cannot build CryptoDev on IMX8 running with Debian Bookworm SO (FlexBuild docker)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-build-CryptoDev-on-IMX8-running-with-Debian-Bookworm-SO/m-p/2070256#M235606</link>
      <description>&lt;P class=""&gt;Hi everyone,&lt;/P&gt;&lt;P class=""&gt;I'm currently working with an i.MX8-based system running &lt;STRONG&gt;Debian Bookworm&lt;/STRONG&gt;. The kernel has already been compiled with CAAM support enabled, and I'm now trying to build the cryptodev_linux module as part of the security stack for my project.&lt;/P&gt;&lt;P class=""&gt;However, I'm encountering a series of unresolved symbol errors during the build process, especially related to cryptographic functions such as crypto_skcipher_encrypt, crypto_alloc_ahash, and others. I am following the instructions from &lt;STRONG&gt;FlexBuild&lt;/STRONG&gt; and using &lt;STRONG&gt;Docker&lt;/STRONG&gt; to facilitate the build process.&lt;/P&gt;&lt;P class=""&gt;Despite ensuring that the necessary kernel options related to &lt;STRONG&gt;CAAM&lt;/STRONG&gt; (Freescale Cryptographic Accelerator) and the &lt;STRONG&gt;cryptographic API&lt;/STRONG&gt; are enabled in the .config file, the error persists during the build of cryptodev_linux.&lt;/P&gt;&lt;P class=""&gt;I've included a screenshot of the error I am seeing below, which might provide more context on the issue when running "bld security" inside the docker container:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-03-28 113127.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/330284i75F73159FBD1DCA2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-03-28 113127.png" alt="Screenshot 2025-03-28 113127.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;If anyone has experience with this or has faced similar issues while working with cryptographic modules on i.MX8, I would really appreciate your insights.&lt;/P&gt;&lt;P class=""&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 10:41:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-build-CryptoDev-on-IMX8-running-with-Debian-Bookworm-SO/m-p/2070256#M235606</guid>
      <dc:creator>raul22520</dc:creator>
      <dc:date>2025-03-28T10:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot build CryptoDev on IMX8 running with Debian Bookworm SO (FlexBuild docker)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-build-CryptoDev-on-IMX8-running-with-Debian-Bookworm-SO/m-p/2070372#M235616</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The component of LSDK2412 are not in i.MX8, since this issue is with flex builder and flex builder is for Layerscape technology, this is a bug, so far you can not enable config for mx8. Sorry and apologize for the inconvenience. We expected to fix it in the next BSP release.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 14:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-build-CryptoDev-on-IMX8-running-with-Debian-Bookworm-SO/m-p/2070372#M235616</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-03-28T14:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot build CryptoDev on IMX8 running with Debian Bookworm SO (FlexBuild docker)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-build-CryptoDev-on-IMX8-running-with-Debian-Bookworm-SO/m-p/2072740#M235781</link>
      <description>&lt;P&gt;Could you confirm me if, taking into account that in /proc/crypto appears the option to use hmac with the caam:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raul22520_0-1743583822078.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/330968iD1577F53236D8C05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raul22520_0-1743583822078.png" alt="raul22520_0-1743583822078.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and making the connection through the AF_ALG socket from the following ptyhon script:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raul22520_1-1743583861257.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/330969i31B254CA03B8E205/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raul22520_1-1743583861257.png" alt="raul22520_1-1743583861257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If indeed the caam is being used to make use of hmac?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;Raul.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 09:24:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-build-CryptoDev-on-IMX8-running-with-Debian-Bookworm-SO/m-p/2072740#M235781</guid>
      <dc:creator>raul22520</dc:creator>
      <dc:date>2025-04-02T09:24:02Z</dc:date>
    </item>
  </channel>
</rss>

