<?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 use CAAM for none contiguous data  in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/use-CAAM-for-none-contiguous-data/m-p/984479#M5416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="" title=""&gt;I am trying to use CAAM on iMX6.&lt;BR /&gt;&lt;BR /&gt;Using the provided SDK, I use QNX OS, and I managed to implement the component and use MD5 and SHA-x successfully, but only for data in a contiguous zone.&lt;BR /&gt;&lt;BR /&gt;how to use the CAAM or descriptor commands to compute a hash (MD5, SHA-xxx) of a &lt;STRONG&gt;none contiguous data area&lt;/STRONG&gt;? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Or, is there a descriptor command to compute a hash (MD5, SHA-xxx) &lt;STRONG&gt;on more than one data field in a single descriptor command&lt;/STRONG&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;The descriptor is as follows:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;0xB0800007&lt;/P&gt;&lt;P&gt;0x8440000C&lt;/P&gt;&lt;P&gt;0x24540000&lt;/P&gt;&lt;P&gt;@Pointer to physical adress for data&lt;/P&gt;&lt;P&gt;data size&lt;/P&gt;&lt;P&gt;0x54200010&lt;/P&gt;&lt;P&gt;0x7C1C3EAC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Khalid&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Nov 2019 14:15:53 GMT</pubDate>
    <dc:creator>k_aboufath-scal</dc:creator>
    <dc:date>2019-11-28T14:15:53Z</dc:date>
    <item>
      <title>use CAAM for none contiguous data</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/use-CAAM-for-none-contiguous-data/m-p/984479#M5416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="" title=""&gt;I am trying to use CAAM on iMX6.&lt;BR /&gt;&lt;BR /&gt;Using the provided SDK, I use QNX OS, and I managed to implement the component and use MD5 and SHA-x successfully, but only for data in a contiguous zone.&lt;BR /&gt;&lt;BR /&gt;how to use the CAAM or descriptor commands to compute a hash (MD5, SHA-xxx) of a &lt;STRONG&gt;none contiguous data area&lt;/STRONG&gt;? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Or, is there a descriptor command to compute a hash (MD5, SHA-xxx) &lt;STRONG&gt;on more than one data field in a single descriptor command&lt;/STRONG&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;The descriptor is as follows:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;0xB0800007&lt;/P&gt;&lt;P&gt;0x8440000C&lt;/P&gt;&lt;P&gt;0x24540000&lt;/P&gt;&lt;P&gt;@Pointer to physical adress for data&lt;/P&gt;&lt;P&gt;data size&lt;/P&gt;&lt;P&gt;0x54200010&lt;/P&gt;&lt;P&gt;0x7C1C3EAC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Khalid&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 14:15:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/use-CAAM-for-none-contiguous-data/m-p/984479#M5416</guid>
      <dc:creator>k_aboufath-scal</dc:creator>
      <dc:date>2019-11-28T14:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: use CAAM for none contiguous data</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/use-CAAM-for-none-contiguous-data/m-p/984480#M5417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CAAM uses own DMA, therefore continuous memory should be provided&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;by system for CAAM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 05:03:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/use-CAAM-for-none-contiguous-data/m-p/984480#M5417</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-11-29T05:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: use CAAM for none contiguous data</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/use-CAAM-for-none-contiguous-data/m-p/984481#M5418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;I am developing a CAAM driver for the Hash part, I can’t guarantee&amp;nbsp;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;and be sure&lt;/SPAN&gt;&lt;/SPAN&gt; that the data or the file will be stored continuously by the user of this CAAM driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I calculate the MD5 for each continuous zone of the file, is there a way (or protocol) to take these MD5 to deduce the final MD5 from the whole file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Khalid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 09:30:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/use-CAAM-for-none-contiguous-data/m-p/984481#M5418</guid>
      <dc:creator>k_aboufath-scal</dc:creator>
      <dc:date>2019-11-29T09:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: use CAAM for none contiguous data</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/use-CAAM-for-none-contiguous-data/m-p/984482#M5419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial;"&gt;&amp;nbsp; Generally the CAAM supports scatter/gather for data, but customers should implement it themselves. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial;"&gt;Use the i.MX6 Security Reference Manual for more details. &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; As for combining of MD5s - hardly it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 03:08:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/use-CAAM-for-none-contiguous-data/m-p/984482#M5419</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-12-03T03:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: use CAAM for none contiguous data</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/use-CAAM-for-none-contiguous-data/m-p/984483#M5420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Khalid,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you succeed to do hashing of files using CAAM? May i know how to implement it in job descriptors?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sreelakshmy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 13:29:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/use-CAAM-for-none-contiguous-data/m-p/984483#M5420</guid>
      <dc:creator>ma_sreelakshmi</dc:creator>
      <dc:date>2020-07-07T13:29:26Z</dc:date>
    </item>
  </channel>
</rss>

