<?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のトピックRe: openssl cryptodev engine on imx8mp</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/1775071#M217403</link>
    <description>thanks for the reply&lt;BR /&gt;i did what the user guide recommended but with not success.&lt;BR /&gt;i had to add the packageconfig =" cryptodev-linux" (something that was missing in the guide.&lt;BR /&gt;i added cryptodev-module openssl-bin to the image install.&lt;BR /&gt;i see the cryptodev module in my bsp but i do not see the engines-3 directory from the openssl. i see it in the sysroot-destdir but its not installed in the image rootfs.&lt;BR /&gt;could you point me what i am missing&lt;BR /&gt;thansk&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Dec 2023 20:15:46 GMT</pubDate>
    <dc:creator>greeran</dc:creator>
    <dc:date>2023-12-14T20:15:46Z</dc:date>
    <item>
      <title>openssl cryptodev engine on imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/1773732#M217282</link>
      <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;i am working on the imx8mp. i would like to secure my private keys and be able to use openssl without exposing the private key to userspace. i read that its possible with cryptodev openssl engine. i built the BSP with yocto and added the cryptodev-linux cryptodev-module.&lt;/P&gt;&lt;P&gt;i am able to modprobe cryptodev&lt;/P&gt;&lt;P&gt;but when i test for engines (openssl engine) i do not see the cryptodev engine.&lt;/P&gt;&lt;P&gt;those the imx8mp support cryptodev openssl engine and if it does then how to i add it to my openssl.&lt;/P&gt;&lt;P&gt;i am building yocto krikstone&amp;nbsp; 5.15.71&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 08:41:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/1773732#M217282</guid>
      <dc:creator>greeran</dc:creator>
      <dc:date>2023-12-13T08:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: openssl cryptodev engine on imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/1774596#M217362</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191131"&gt;@greeran&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to follow up the Linux User guide as the chapter 10 security where you will find how to deploy it into rootfs using Yocto. &lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 08:42:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/1774596#M217362</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-12-14T08:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: openssl cryptodev engine on imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/1775071#M217403</link>
      <description>thanks for the reply&lt;BR /&gt;i did what the user guide recommended but with not success.&lt;BR /&gt;i had to add the packageconfig =" cryptodev-linux" (something that was missing in the guide.&lt;BR /&gt;i added cryptodev-module openssl-bin to the image install.&lt;BR /&gt;i see the cryptodev module in my bsp but i do not see the engines-3 directory from the openssl. i see it in the sysroot-destdir but its not installed in the image rootfs.&lt;BR /&gt;could you point me what i am missing&lt;BR /&gt;thansk&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Dec 2023 20:15:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/1775071#M217403</guid>
      <dc:creator>greeran</dc:creator>
      <dc:date>2023-12-14T20:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: openssl cryptodev engine on imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/1775088#M217406</link>
      <description>hi&lt;BR /&gt;i found my mistake. i needed to add the openssl-engines to the image-install&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 14 Dec 2023 21:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/1775088#M217406</guid>
      <dc:creator>greeran</dc:creator>
      <dc:date>2023-12-14T21:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: openssl cryptodev engine on imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/2012172#M231869</link>
      <description>&lt;P&gt;Should be this with&lt;SPAN&gt;&amp;nbsp;in&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp; &lt;A href="https://git.yoctoproject.org/poky/tree/meta/recipes-connectivity/openssl/openssl_3.0.15.bb?h=kirkstone" target="_blank" rel="noopener"&gt;https://git.yoctoproject.org/poky/tree/meta/recipes-connectivity/openssl/openssl_3.0.15.bb?h=kirkstone&lt;/A&gt;&amp;nbsp;like following&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;PACKAGECONFIG&lt;/SPAN&gt; &lt;SPAN class=""&gt;?&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;"&lt;SPAN class=""&gt;cryptodev&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;linux&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;/STRONG&gt;
&lt;SPAN class=""&gt;PACKAGECONFIG&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;class&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;native&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;""&lt;/SPAN&gt;
&lt;SPAN class=""&gt;PACKAGECONFIG&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;class&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;nativesdk&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;""&lt;/SPAN&gt;

&lt;SPAN class=""&gt;PACKAGECONFIG&lt;/SPAN&gt;&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;cryptodev&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;linux&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;"enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux,,cryptodev-module"&lt;/SPAN&gt;
&lt;SPAN class=""&gt;PACKAGECONFIG&lt;/SPAN&gt;&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;no&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;tls1&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;"no-tls1"&lt;/SPAN&gt;
&lt;SPAN class=""&gt;PACKAGECONFIG&lt;/SPAN&gt;&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;no&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;tls1_1&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;"no-tls1_1"&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;And how the local.conf should be?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 16:36:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/2012172#M231869</guid>
      <dc:creator>htplus</dc:creator>
      <dc:date>2024-12-11T16:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: openssl cryptodev engine on imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/2012174#M231870</link>
      <description>Like in Guide? Is there openssl-engine maybe missing?&lt;BR /&gt;&lt;BR /&gt;CORE_IMAGE_EXTRA_INSTALL+="cryptodev-module openssl-bin"</description>
      <pubDate>Wed, 11 Dec 2024 16:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/2012174#M231870</guid>
      <dc:creator>htplus</dc:creator>
      <dc:date>2024-12-11T16:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: openssl cryptodev engine on imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/2013529#M231959</link>
      <description>There is no answer? Should I ask a new question?</description>
      <pubDate>Fri, 13 Dec 2024 10:05:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/2013529#M231959</guid>
      <dc:creator>htplus</dc:creator>
      <dc:date>2024-12-13T10:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: openssl cryptodev engine on imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/2013596#M231965</link>
      <description>&lt;P&gt;&lt;SPAN&gt;**Enabling the cryptodev engine in OpenSSL**&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* The `PACKAGECONFIG` variable is used to customize package configurations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* In the case of OpenSSL, setting `PACKAGECONFIG ?= "cryptodev-linux"` enables the `devcrypto` engine and `cryptography` module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Conversely, setting `PACKAGECONFIG ?= ""` disables the `devcrypto` engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**Verifying the changes**&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Running `bitbake -e openssl | grep ^PACKAGECONFIG_CONFARGS=` shows the current configuration settings for OpenSSL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* The presence or absence of certain files and directories can be used to verify whether the `devcrypto` engine is enabled or disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**Example output**&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* When disabling the `devcrypto` engine, you'll see a list of files without the `devcrypto` prefix:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;```bash&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ls /home/cidocker/gitlab-project/project/tmp/work/armv7at2hf-neon-poky-linux-gnueabi/openssl/3.0.14-r0/build/engines/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;afalg-... capi-... dasync-... loader_... ossltest-... padlock-...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;```&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* When enabling the `devcrypto` engine, you'll see files with the `devcrypto` prefix:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;```bash&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ls /home/cidocker/gitlab-project/project/tmp/work/armv7at2hf-neon-poky-linux-gnueabi/openssl/3.0.14-r0/build/engines/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;afalg-... capi-... dasync-... devcrypto-... loader_... ossltest-... padlock-...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;```&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;**Conclusion**&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By modifying the `PACKAGECONFIG` variable, you can control whether the `devcrypto` engine is enabled or disabled in OpenSSL. This can be useful for customizing your build environment to meet specific requirements.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 12:27:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/openssl-cryptodev-engine-on-imx8mp/m-p/2013596#M231965</guid>
      <dc:creator>htplus</dc:creator>
      <dc:date>2024-12-13T12:27:08Z</dc:date>
    </item>
  </channel>
</rss>

