<?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: Encrypt / Decrypt data from uboot using CAAM in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466911#M73671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;unfortunately caam is not offically supported in uboot.&lt;/P&gt;&lt;P&gt;It may be suggested to use NXP Professional Services:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fsupport%2Fnxp-professional-services%3APROFESSIONAL-SERVICE" rel="nofollow" target="_blank"&gt;http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2016 09:06:26 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-05-13T09:06:26Z</dc:date>
    <item>
      <title>Encrypt / Decrypt data from uboot using CAAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466908#M73668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to use the CAAM on the i.MX6Q to encrypt/decrypt data from uboot, using any available encryption protocol (I understand you can use AES 128-bit, 192-bit or 256-bit) and the OTPMK as key. That is, like the dek_blob is done. How can that be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen some constructor for job descriptors available in drivers/crypto/fsl/jobdesc.c. I assume it would be necessary to create new job descriptor constructors for AES encryption and AES decryption which would use a src pointer, dst pointer and uint32_t data length. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However ensambling a job descriptor seems complicated and error prone. Is there any examples about how to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 14:38:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466908#M73668</guid>
      <dc:creator>jdepedro</dc:creator>
      <dc:date>2016-05-12T14:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt / Decrypt data from uboot using CAAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466909#M73669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jdepedro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please look at below links&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105304"&gt;Build the key blob generation utility with the Platform SDK&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-104824"&gt;Generate the Encrypted U-boot v2014.04&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/343884"&gt;DEK blob generator command for u-boot-imx&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 01:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466909#M73669</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-05-13T01:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt / Decrypt data from uboot using CAAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466910#M73670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; igorpadykov,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for those post, I have already read them, though. What I am looking for, is a way to encrypt / decrypt data from uboot using the OTPMK. dek blobing does not work for me because &lt;/P&gt;&lt;P&gt;* It is not a encryption (it generates a key, encrypt that key with the OTPKM, and encrypt the DEK with the generated key)&lt;/P&gt;&lt;P&gt;* It only works for some data lenghts&lt;/P&gt;&lt;P&gt;* It is not reversible on uboot (it is reversible in theory, but it is not implemented, right?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is to use the CAAM from uboot to encrypt/decrypt any data using AES-128/192 or 256 and the OTPMK as key. Is that possibe? How to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 07:18:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466910#M73670</guid>
      <dc:creator>jdepedro</dc:creator>
      <dc:date>2016-05-13T07:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt / Decrypt data from uboot using CAAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466911#M73671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;unfortunately caam is not offically supported in uboot.&lt;/P&gt;&lt;P&gt;It may be suggested to use NXP Professional Services:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fsupport%2Fnxp-professional-services%3APROFESSIONAL-SERVICE" rel="nofollow" target="_blank"&gt;http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 09:06:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466911#M73671</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-05-13T09:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt / Decrypt data from uboot using CAAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466912#M73672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you consider to use the black/red key blob from external memory?&amp;nbsp;There is an implementation but resides in the kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any experience with that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert Lubaś&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 19:35:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466912#M73672</guid>
      <dc:creator>robertlubas</dc:creator>
      <dc:date>2016-10-17T19:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt / Decrypt data from uboot using CAAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466913#M73673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, any update on this?&lt;/P&gt;&lt;P&gt;Can we use CAAM via uboot to use OTPMK to generate keys to encrypt/decrypt images?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 14:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Encrypt-Decrypt-data-from-uboot-using-CAAM/m-p/466913#M73673</guid>
      <dc:creator>terateller</dc:creator>
      <dc:date>2017-08-22T14:23:58Z</dc:date>
    </item>
  </channel>
</rss>

