<?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>LPCXpresso IDE中的主题 Re: AES 256 support</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/AES-256-support/m-p/570014#M19957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiryat8 on Wed Jun 19 04:42:32 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I was pointed to the different AES modes. I had used CipherMode.CBC in the C# code where the application note just implements CipherMode.ECB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I then XORed things on the LPC C code and got CipherMode.CBC to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was referred to the Wikepedia "Block cipher mode of operation" page.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:21:38 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:21:38Z</dc:date>
    <item>
      <title>AES 256 support</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/AES-256-support/m-p/570013#M19956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiryat8 on Tue May 28 05:46:05 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to communicate with a custom protocol encrypted in AES 256 on the LPC1768 and the other end using a C# DotNet server. I am using the NXP AN11241_1 example code. On the PC side I use the C# code in the attachment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I encrypt a buffer with a single 16 byte block, both sides encrypt/decrypt the same way and all works. When I fill a 48 byte buffer with data 0 through 47 and encrypt the buffer on both ends, only the first 16 encrypted bytes are the same. So when I send more than one 16 byte block, the decrypting always fails. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also did a test where I encrypted the 48bytes and then decrypted them on the same side (PC and LPC) and verified that the results which also worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I conclude that PC and the LPC are using different AES modes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:21:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/AES-256-support/m-p/570013#M19956</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: AES 256 support</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/AES-256-support/m-p/570014#M19957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiryat8 on Wed Jun 19 04:42:32 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I was pointed to the different AES modes. I had used CipherMode.CBC in the C# code where the application note just implements CipherMode.ECB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I then XORed things on the LPC C code and got CipherMode.CBC to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was referred to the Wikepedia "Block cipher mode of operation" page.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/AES-256-support/m-p/570014#M19957</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:21:38Z</dc:date>
    </item>
  </channel>
</rss>

