<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: MCFCAU library - documentation or sample pgms</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203396#M9446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hello Chen,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not know what exactly you have&amp;nbsp;got from the support.&lt;/SPAN&gt;&lt;SPAN&gt;But I believe that you have got one of the CAU Linux drivers developed two years ago for MCF54455 LTIB&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(there is probability that they were ported to other platforms).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have attached very short description (how to test it). These drivers have standard Linux driver crypto API, so look to Linux docs coming with the kernel for more information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are going to use it as standalone library drivers you have to port it (I am not aware if it was done somebody else). Do not forget that it has GNU GPL license.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BTW:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Also&amp;nbsp;there is&amp;nbsp;standalone CAU library released as binary only (ask if you interested). But source code is not available (even for me).&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Andrey Butok&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2009 14:20:37 GMT</pubDate>
    <dc:creator>butok</dc:creator>
    <dc:date>2009-07-30T14:20:37Z</dc:date>
    <item>
      <title>MCFCAU library - documentation or sample pgms</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203395#M9445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to use the SHA-1 algorithm to verify the checksum. The controller used is Coldfire V2. I got the CAU library [&lt;SPAN&gt;Author: Andrey Butok] from Freescale support unit. If any of you could provide any supporting documentation or sample programs for usage of the SHA-1 algorithm, it would be great.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 10:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203395#M9445</guid>
      <dc:creator>lel_chen</dc:creator>
      <dc:date>2009-07-30T10:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: MCFCAU library - documentation or sample pgms</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203396#M9446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hello Chen,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not know what exactly you have&amp;nbsp;got from the support.&lt;/SPAN&gt;&lt;SPAN&gt;But I believe that you have got one of the CAU Linux drivers developed two years ago for MCF54455 LTIB&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(there is probability that they were ported to other platforms).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have attached very short description (how to test it). These drivers have standard Linux driver crypto API, so look to Linux docs coming with the kernel for more information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are going to use it as standalone library drivers you have to port it (I am not aware if it was done somebody else). Do not forget that it has GNU GPL license.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BTW:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Also&amp;nbsp;there is&amp;nbsp;standalone CAU library released as binary only (ask if you interested). But source code is not available (even for me).&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Andrey Butok&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 14:20:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203396#M9446</guid>
      <dc:creator>butok</dc:creator>
      <dc:date>2009-07-30T14:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: MCFCAU library - documentation or sample pgms</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203397#M9447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Butok,&lt;/P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have gone through the file "mcfcau-sh1.c" [dated 2007].It lists functions such as "&lt;SPAN&gt;mcfcau_sha1_update". Could you please expain me as to what the " &lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;struct crypto_tfm *tfm" structure is? My basic intention is to use SHA-1 algorithm to verify the checksum of a memory chunk. Will I be able to acheive this using this library?&amp;nbsp;Iam new to this and if you could please explain me as to how to make use of this software library to meet my objectibes, it would be great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has this library been ported to any other platforms?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attachment shows the library that I have received.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 17:52:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203397#M9447</guid>
      <dc:creator>lel_chen</dc:creator>
      <dc:date>2009-07-30T17:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: MCFCAU library - documentation or sample pgms</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203398#M9448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These Linux drivers are low-level and are not called by a user directly.&lt;/P&gt;&lt;P&gt;To understand how it works&amp;nbsp;you should have the whole LTIB Kernel source code and to dig in it. The Linux&amp;nbsp;Kernel Crypto&amp;nbsp;documentation is very poor: &lt;A href="http://www.mjmwired.net/kernel/Documentation/crypto/descore-readme.txt" rel="nofollow" target="_blank"&gt;http://www.mjmwired.net/kernel/Documentation/crypto/descore-readme.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mjmwired.net/kernel/Documentation/crypto/api-intro.txt" rel="nofollow" target="_blank"&gt;http://www.mjmwired.net/kernel/Documentation/crypto/api-intro.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mjmwired.net/kernel/Documentation/crypto/async-tx-api.txt" rel="nofollow" target="_blank"&gt;http://www.mjmwired.net/kernel/Documentation/crypto/async-tx-api.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It’s very tough area. Be ready to spend a lot of time.&amp;nbsp;Also you can try to google (should be something new now,&amp;nbsp;as I am out of this area long time).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you like to create own stand-alone driver you should not waste time&amp;nbsp;with the Linux crypto control structure organization and etc. You just need to try to reuse code from mcfcau_sha1_transform() assembler (but I&amp;nbsp;am not able to&amp;nbsp;help you&amp;nbsp;in it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you do not need a source code, the best solution for you&amp;nbsp;will be&amp;nbsp;the binary library (is attached). I have not found the header API file, but you can reproduce it from the attached doc.&lt;/P&gt;&lt;P&gt;It should work for every platform that has CAU module (but I did not test it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andrey Butok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 19:03:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203398#M9448</guid>
      <dc:creator>butok</dc:creator>
      <dc:date>2009-07-30T19:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: MCFCAU library - documentation or sample pgms</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203399#M9449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Butok,I would like to create own stand-alone driver.&lt;/P&gt;&lt;P&gt;But I dint understand as to where you are referring for the "mcfcau_sha1_transform()".&lt;/P&gt;&lt;P&gt;Kindly point me to the same, so that i can develop the driver from there.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 17:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203399#M9449</guid>
      <dc:creator>lel_chen</dc:creator>
      <dc:date>2009-08-03T17:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: MCFCAU library - documentation or sample pgms</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203400#M9450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a basic question about the cau library for sha1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of the API is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;P align="left"&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT face="Courier New" size="1"&gt;void cau_sha1_update&lt;FONT face="Courier New" size="1"&gt;&lt;FONT face="Courier New" size="1"&gt;(const unsigned char *msg_data,const int num_blks,unsigned char *sha1_state)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT face="Courier New" size="1"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT size="2"&gt;After calling this, where does the hashed data get stored?&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT size="2"&gt;kind regards,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT size="2"&gt;~erik&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;FONT face="Courier New" size="1"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2010 04:41:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCFCAU-library-documentation-or-sample-pgms/m-p/203400#M9450</guid>
      <dc:creator>epeterson</dc:creator>
      <dc:date>2010-01-23T04:41:04Z</dc:date>
    </item>
  </channel>
</rss>

