<?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: MX6ul optee CAAM driver for encryption not giving consistent results</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MX6ul-optee-CAAM-driver-for-encryption-not-giving-consistent/m-p/1020164#M150866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;additional document was sent via mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2020 09:07:46 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-02-27T09:07:46Z</dc:date>
    <item>
      <title>MX6ul optee CAAM driver for encryption not giving consistent results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX6ul-optee-CAAM-driver-for-encryption-not-giving-consistent/m-p/1020161#M150863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-top: 0px !important; margin-bottom: 16px;"&gt;Hello Everyone,&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;I am using imx6ul optee caam driver for crypto stuff in my project.&lt;BR /&gt;For testing , I am sending 8 bytes of data and 8 bytes of key as input, encryption algo as DES_ECB_NOPAD.&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;Function sequence I am calling is :&lt;/P&gt;&lt;OL style="color: #24292e; background-color: #ffffff; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI&gt;crypto_cipher_alloc_ctx -------&amp;gt; do_allocate(caam_cipher.c)&lt;/LI&gt;&lt;LI style="margin-top: 0.25em;"&gt;crypto_cipher_init --------&amp;gt; do_init (caam_cipher.c)&lt;/LI&gt;&lt;LI style="margin-top: 0.25em;"&gt;crypto_cipher_update -----&amp;gt; do_update (caam_cipher.c)&lt;/LI&gt;&lt;LI style="margin-top: 0.25em;"&gt;crypto_cipher_free_ctx -----&amp;gt;do_free (caam_cipher.c)&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;The problem I am facing is, I dont get consistent result, i.e sometimes I get encrypted ouput (1 out of 4 run) and sometimes instead of 0's (3 out of 4).&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;Is there anything I have to take care for Initialisation? Or I have to wait for any signal for encryption to complete.&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;I appreciate any help, any kind of pointers to search for.&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 0px !important;"&gt;Regards,&lt;BR /&gt;Asma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 04:52:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX6ul-optee-CAAM-driver-for-encryption-not-giving-consistent/m-p/1020161#M150863</guid>
      <dc:creator>asmaa</dc:creator>
      <dc:date>2020-02-13T04:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: MX6ul optee CAAM driver for encryption not giving consistent results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX6ul-optee-CAAM-driver-for-encryption-not-giving-consistent/m-p/1020162#M150864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to rebuild all image from scratch, use nxp software described on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tools:IMX-SW" title="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tools:IMX-SW"&gt;i.MX Software and Development Tools | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 00:57:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX6ul-optee-CAAM-driver-for-encryption-not-giving-consistent/m-p/1020162#M150864</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-02-18T00:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: MX6ul optee CAAM driver for encryption not giving consistent results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX6ul-optee-CAAM-driver-for-encryption-not-giving-consistent/m-p/1020163#M150865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure my setup is done very well including optee with imx6ul, because I have wriiten trusted application and other stuffs which are working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to achieve is enabled CAAM in optee. I have done most of the configuration like:&lt;/P&gt;&lt;P&gt;setting&amp;nbsp;CFG_IMX_CAAM =y&lt;/P&gt;&lt;P&gt;CFG_IMXCRYPT ?= y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than this do I need to set anything else to make CAAM cipher work correctly in Optee?&lt;/P&gt;&lt;P&gt;Are there any steps you can provide me to enable CAAM in optee?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Asma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 03:44:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX6ul-optee-CAAM-driver-for-encryption-not-giving-consistent/m-p/1020163#M150865</guid>
      <dc:creator>asmaa</dc:creator>
      <dc:date>2020-02-27T03:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: MX6ul optee CAAM driver for encryption not giving consistent results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MX6ul-optee-CAAM-driver-for-encryption-not-giving-consistent/m-p/1020164#M150866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;additional document was sent via mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 09:07:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MX6ul-optee-CAAM-driver-for-encryption-not-giving-consistent/m-p/1020164#M150866</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-02-27T09:07:46Z</dc:date>
    </item>
  </channel>
</rss>

