<?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: IMX28 : use DCP engine to encrypt data using AES ?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX28-use-DCP-engine-to-encrypt-data-using-AES/m-p/1173004#M164026</link>
    <description>&lt;P&gt;Hi g__&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can look at below dcp example:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-optee-os/tree/core/drivers/imx/dcp/dcp.c?h=imx_5.4.47_2.2.0" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/imx-optee-os/tree/core/drivers/imx/dcp/dcp.c?h=imx_5.4.47_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;also one can consider &lt;SPAN style="color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;cryptodev-linux/test&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/cryptodev-linux/cryptodev-linux" target="_blank" rel="noopener"&gt;https://github.com/cryptodev-linux/cryptodev-linux&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Some customers tested on i.MX6ULL board, which has the same DCP module.&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;In Kernel Configuration, you need exclude below option (default &amp;lt;Y&amp;gt;):&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;Cryptographic API ---&amp;gt; Disable run-time self tests&lt;/EM&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;The result is shown below when insert the tcrypt.ko module:&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;# insmod tcrypt.ko mode=10&lt;/EM&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;insmod: ERROR: could not insert module tcrypt.ko: Resource temporarily unavailable&lt;/EM&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;# cat /proc/interrupts&lt;/EM&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;...&lt;/EM&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;236:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 72&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPC&amp;nbsp; 46 Level&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dcp-vmi-irq&lt;/EM&gt;&lt;BR style="box-sizing: border-box;" /&gt;&lt;EM style="box-sizing: border-box;"&gt;237:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPC&amp;nbsp; 47 Level&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dcp-irq&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Mon, 26 Oct 2020 09:22:12 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-10-26T09:22:12Z</dc:date>
    <item>
      <title>IMX28 : use DCP engine to encrypt data using AES ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX28-use-DCP-engine-to-encrypt-data-using-AES/m-p/1172499#M163968</link>
      <description>&lt;P&gt;I installed the DCP driver into buildroot.&lt;/P&gt;&lt;P&gt;Is it possible to use the DCP engine of the IMX28 to encrypt data ?&lt;/P&gt;&lt;P&gt;If yes, do you have&amp;nbsp; a code example ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:06:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX28-use-DCP-engine-to-encrypt-data-using-AES/m-p/1172499#M163968</guid>
      <dc:creator>g__</dc:creator>
      <dc:date>2020-10-23T14:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: IMX28 : use DCP engine to encrypt data using AES ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX28-use-DCP-engine-to-encrypt-data-using-AES/m-p/1173004#M164026</link>
      <description>&lt;P&gt;Hi g__&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can look at below dcp example:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-optee-os/tree/core/drivers/imx/dcp/dcp.c?h=imx_5.4.47_2.2.0" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/imx-optee-os/tree/core/drivers/imx/dcp/dcp.c?h=imx_5.4.47_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;also one can consider &lt;SPAN style="color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;cryptodev-linux/test&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/cryptodev-linux/cryptodev-linux" target="_blank" rel="noopener"&gt;https://github.com/cryptodev-linux/cryptodev-linux&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Some customers tested on i.MX6ULL board, which has the same DCP module.&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;In Kernel Configuration, you need exclude below option (default &amp;lt;Y&amp;gt;):&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;Cryptographic API ---&amp;gt; Disable run-time self tests&lt;/EM&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;The result is shown below when insert the tcrypt.ko module:&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;# insmod tcrypt.ko mode=10&lt;/EM&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;insmod: ERROR: could not insert module tcrypt.ko: Resource temporarily unavailable&lt;/EM&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;# cat /proc/interrupts&lt;/EM&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;...&lt;/EM&gt;&lt;/P&gt;
&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #333f48; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;EM style="box-sizing: border-box;"&gt;236:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 72&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPC&amp;nbsp; 46 Level&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dcp-vmi-irq&lt;/EM&gt;&lt;BR style="box-sizing: border-box;" /&gt;&lt;EM style="box-sizing: border-box;"&gt;237:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPC&amp;nbsp; 47 Level&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dcp-irq&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 09:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX28-use-DCP-engine-to-encrypt-data-using-AES/m-p/1173004#M164026</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-26T09:22:12Z</dc:date>
    </item>
  </channel>
</rss>

