<?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中的主题 CAAM : AES-ECB application...</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/CAAM-AES-ECB-application/m-p/386039#M55902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to IMX6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to develop a little application in c language which use the CAAM cryptographic hardware accelerator (CHA).&lt;/P&gt;&lt;P&gt;I've 2 main problem:&lt;/P&gt;&lt;P&gt;- I think I don't understand very well all concepts: job descriptor/trusted descriptor , job rings, shared descriptors, etc... :smileyconfused:&lt;/P&gt;&lt;P&gt;- I try to read some register (like MCFGR — Master Configuration Register for example) and it spawn an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read the Document Number: IMX6DQ6SDLSRM :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Security Reference Manual for i.MX6Dual, 6Quad, 6Solo, and 6DualLite Families of Applications Processors&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but for beginning I would like a little application example. It's easier in order to understand the main idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As concerning the register reading,&lt;/P&gt;&lt;P&gt;I use this (simple) command in my c program :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #33cccc;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; reg32_read(addr)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *((&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;volatile&lt;/SPAN&gt; &lt;SPAN style="color: #993300;"&gt;uint_32_t&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #575757;"&gt; *) (addr))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in my program, when I call :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;reg32_read(&lt;SPAN style="color: #339966;"&gt;0x02100004&lt;/SPAN&gt;);&lt;/SPAN&gt; &lt;SPAN style="color: #993300;"&gt; //0x02100004 : Master Configuration Register address&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the program return me :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[1] + stopped (signal)&amp;nbsp; ./caam_test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand the real problem.&lt;/P&gt;&lt;P&gt;Is it a right problem ?&lt;/P&gt;&lt;P&gt;Is their a register setting that I missed in order to read all registers?&lt;/P&gt;&lt;P&gt;How to read/write into register in order to use CHA of CAAM ?&lt;/P&gt;&lt;P&gt;Is there some code examples of AES ECB mode encryption using the CAAM ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, could you help me please ? Any suggestions are welcome... :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jan 2015 11:18:12 GMT</pubDate>
    <dc:creator>jumeyer</dc:creator>
    <dc:date>2015-01-05T11:18:12Z</dc:date>
    <item>
      <title>CAAM : AES-ECB application...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAAM-AES-ECB-application/m-p/386039#M55902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to IMX6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to develop a little application in c language which use the CAAM cryptographic hardware accelerator (CHA).&lt;/P&gt;&lt;P&gt;I've 2 main problem:&lt;/P&gt;&lt;P&gt;- I think I don't understand very well all concepts: job descriptor/trusted descriptor , job rings, shared descriptors, etc... :smileyconfused:&lt;/P&gt;&lt;P&gt;- I try to read some register (like MCFGR — Master Configuration Register for example) and it spawn an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read the Document Number: IMX6DQ6SDLSRM :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Security Reference Manual for i.MX6Dual, 6Quad, 6Solo, and 6DualLite Families of Applications Processors&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but for beginning I would like a little application example. It's easier in order to understand the main idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As concerning the register reading,&lt;/P&gt;&lt;P&gt;I use this (simple) command in my c program :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #33cccc;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; reg32_read(addr)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *((&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;volatile&lt;/SPAN&gt; &lt;SPAN style="color: #993300;"&gt;uint_32_t&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #575757;"&gt; *) (addr))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in my program, when I call :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;reg32_read(&lt;SPAN style="color: #339966;"&gt;0x02100004&lt;/SPAN&gt;);&lt;/SPAN&gt; &lt;SPAN style="color: #993300;"&gt; //0x02100004 : Master Configuration Register address&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the program return me :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[1] + stopped (signal)&amp;nbsp; ./caam_test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand the real problem.&lt;/P&gt;&lt;P&gt;Is it a right problem ?&lt;/P&gt;&lt;P&gt;Is their a register setting that I missed in order to read all registers?&lt;/P&gt;&lt;P&gt;How to read/write into register in order to use CHA of CAAM ?&lt;/P&gt;&lt;P&gt;Is there some code examples of AES ECB mode encryption using the CAAM ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, could you help me please ? Any suggestions are welcome... :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 11:18:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAAM-AES-ECB-application/m-p/386039#M55902</guid>
      <dc:creator>jumeyer</dc:creator>
      <dc:date>2015-01-05T11:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: CAAM : AES-ECB application...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAAM-AES-ECB-application/m-p/386040#M55903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Send your post to imx community (e.g. &lt;A _jive_internal="true" class="jivecontainerTT-hover-container jive-link-community-small" data-containerid="1" data-containertype="14" data-objectid="2004" data-objecttype="14" href="https://community.nxp.com/community/imx"&gt;i.MX Community&lt;/A&gt; ) to get it visible for active members.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 11:29:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAAM-AES-ECB-application/m-p/386040#M55903</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-01-05T11:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: CAAM : AES-ECB application...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAAM-AES-ECB-application/m-p/386041#M55904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julien.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 11:32:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAAM-AES-ECB-application/m-p/386041#M55904</guid>
      <dc:creator>jumeyer</dc:creator>
      <dc:date>2015-01-05T11:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: CAAM : AES-ECB application...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAAM-AES-ECB-application/m-p/386042#M55905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; Please refer to &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Verdana','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Verdana','sans-serif';"&gt;&lt;A class="jive-link-thread-small" data-containerid="2004" data-containertype="14" data-objectid="338204" data-objecttype="1" href="https://community.freescale.com/thread/338204"&gt;https://community.freescale.com/thread/338204#&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 06 Jan 2015 08:13:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAAM-AES-ECB-application/m-p/386042#M55905</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-01-06T08:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: CAAM : AES-ECB application...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAAM-AES-ECB-application/m-p/386043#M55906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for indicate the right link.&lt;/P&gt;&lt;P&gt;(I did a mistake and published 2 times the same question... sorry everybody :smileyblush:&lt;/P&gt;&lt;P&gt;and because some people had already answered I don't want to delete one )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day too.&lt;/P&gt;&lt;P&gt;Julien.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 13:45:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAAM-AES-ECB-application/m-p/386043#M55906</guid>
      <dc:creator>jumeyer</dc:creator>
      <dc:date>2015-01-06T13:45:24Z</dc:date>
    </item>
  </channel>
</rss>

