<?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>Kinetis MicrocontrollersのトピックRe: mmCau lib, Encrypt on Computer side, decrypt on Kinetis side</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mmCau-lib-Encrypt-on-Computer-side-decrypt-on-Kinetis-side/m-p/421167#M24124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&amp;amp;tabId=1502&amp;amp;literatureNumber=slaa397a&amp;amp;docCategoryId=1&amp;amp;familyId=914" title="http://www.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&amp;amp;tabId=1502&amp;amp;literatureNumber=slaa397a&amp;amp;docCategoryId=1&amp;amp;familyId=914"&gt;AES128 – A C Implementation for Encryption and Decryption (Rev. A) Staging slaa397a - TI.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="https://gist.github.com/mythosil/1292283" title="https://gist.github.com/mythosil/1292283"&gt;encryption by AES(128bit) using libcrypto · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://directory.fsf.org/wiki/Category/Security/encryption" title="https://directory.fsf.org/wiki/Category/Security/encryption"&gt;Category/Security/encryption - Free Software Directory&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nist.org/nist_plugins/content/content.php?content.39" title="http://www.nist.org/nist_plugins/content/content.php?content.39"&gt;Content / Federal Information Processing Standards (FIPS) / NIST FIPS 197 - Advanced Encryption Standard (AES) - NIST IT…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.3333330154419px; text-align: justify;"&gt;AES is based on&amp;nbsp; Rijndael, Googleing that my turn up more info.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 13:03:15 GMT</pubDate>
    <dc:creator>bobpaddock</dc:creator>
    <dc:date>2015-08-04T13:03:15Z</dc:date>
    <item>
      <title>mmCau lib, Encrypt on Computer side, decrypt on Kinetis side</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mmCau-lib-Encrypt-on-Computer-side-decrypt-on-Kinetis-side/m-p/421163#M24120</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;i'm on a K60 which have an mmCAU unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm using the mmCau lib provided by freescale and start with AN4307 exemple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Exemple crypt a string with AES128, AES192, AES256, compare with a pre entered string and then decrypt to get original string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As said above, the crypted string is compared with an Pre entered crypted string.&lt;/P&gt;&lt;P&gt;Comment indicate that this expected crypted string is obtened with python:&lt;/P&gt;&lt;P&gt;/*FSL: taken from python using pycrypto-2.3*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my final application, my need is to generate a crypted string send via ethernet from computer to Kinetis, Kinestis decrypt this string.&lt;/P&gt;&lt;P&gt;So I need on computer side a software which take a file and crypt it with the same Key and same "Init vector" for Xor CBC than used inside the Kinetis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not familiar with python, but my final need is to have a "a turnkey solution" which take a file and generate the corresponfing crypted file.&lt;/P&gt;&lt;P&gt;I think I will use Visual studio to do it.&lt;/P&gt;&lt;P&gt;For that I use a specific library.&lt;/P&gt;&lt;P&gt;I make many try (with some exemple here: &lt;A href="http://www.codeproject.com/Articles/769741/Csharp-AES-bits-Encryption-Library-with-Salt" title="http://www.codeproject.com/Articles/769741/Csharp-AES-bits-Encryption-Library-with-Salt"&gt;C# AES 256 bits Encryption Library with Salt - CodeProject&lt;/A&gt; ) but without success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure the CBC is identical, I don't know if the "Init vector" correspond to the "Salt" in the visual exemple.&lt;/P&gt;&lt;P&gt;I don't know which key provide: if the wanted Key is the initial key or key optened after call "cau_aes_set_key"....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Just in case,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;there&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;would&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;he&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;somewhere&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an example of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;code to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;do the same thing&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that do &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;AN4307&lt;/SPAN&gt; which is &lt;SPAN class="hps"&gt;executed&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Kinetis? (an easy end user solution which not require to install some software like python)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;:smileywink:&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 09:00:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mmCau-lib-Encrypt-on-Computer-side-decrypt-on-Kinetis-side/m-p/421163#M24120</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-06-23T09:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: mmCau lib, Encrypt on Computer side, decrypt on Kinetis side</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mmCau-lib-Encrypt-on-Computer-side-decrypt-on-Kinetis-side/m-p/421164#M24121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use the free aes128 encrypt tool from below link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://aes.online-domain-tools.com/" title="http://aes.online-domain-tools.com/"&gt;http://aes.online-domain-tools.com/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2015-06-24_15-51-10.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57006i1345344E101760EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="2015-06-24_15-51-10.png" alt="2015-06-24_15-51-10.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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>Wed, 24 Jun 2015 07:52:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mmCau-lib-Encrypt-on-Computer-side-decrypt-on-Kinetis-side/m-p/421164#M24121</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-06-24T07:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: mmCau lib, Encrypt on Computer side, decrypt on Kinetis side</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mmCau-lib-Encrypt-on-Computer-side-decrypt-on-Kinetis-side/m-p/421165#M24122</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 for this link, this will help me during development phase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, for serial product, I'm looking for a library (usable in visual c/c++.. i.e) or directly an equivalent of this "Online" application but in "offline" mode.:smileyblush:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 11:18:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mmCau-lib-Encrypt-on-Computer-side-decrypt-on-Kinetis-side/m-p/421165#M24122</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-06-24T11:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: mmCau lib, Encrypt on Computer side, decrypt on Kinetis side</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mmCau-lib-Encrypt-on-Computer-side-decrypt-on-Kinetis-side/m-p/421166#M24123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nobody has it?&lt;/P&gt;&lt;P&gt;:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 12:37:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mmCau-lib-Encrypt-on-Computer-side-decrypt-on-Kinetis-side/m-p/421166#M24123</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-08-04T12:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: mmCau lib, Encrypt on Computer side, decrypt on Kinetis side</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mmCau-lib-Encrypt-on-Computer-side-decrypt-on-Kinetis-side/m-p/421167#M24124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&amp;amp;tabId=1502&amp;amp;literatureNumber=slaa397a&amp;amp;docCategoryId=1&amp;amp;familyId=914" title="http://www.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&amp;amp;tabId=1502&amp;amp;literatureNumber=slaa397a&amp;amp;docCategoryId=1&amp;amp;familyId=914"&gt;AES128 – A C Implementation for Encryption and Decryption (Rev. A) Staging slaa397a - TI.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="https://gist.github.com/mythosil/1292283" title="https://gist.github.com/mythosil/1292283"&gt;encryption by AES(128bit) using libcrypto · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://directory.fsf.org/wiki/Category/Security/encryption" title="https://directory.fsf.org/wiki/Category/Security/encryption"&gt;Category/Security/encryption - Free Software Directory&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nist.org/nist_plugins/content/content.php?content.39" title="http://www.nist.org/nist_plugins/content/content.php?content.39"&gt;Content / Federal Information Processing Standards (FIPS) / NIST FIPS 197 - Advanced Encryption Standard (AES) - NIST IT…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13.3333330154419px; text-align: justify;"&gt;AES is based on&amp;nbsp; Rijndael, Googleing that my turn up more info.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 13:03:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mmCau-lib-Encrypt-on-Computer-side-decrypt-on-Kinetis-side/m-p/421167#M24124</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2015-08-04T13:03:15Z</dc:date>
    </item>
  </channel>
</rss>

