<?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 Re: [BeeStafck and MC1321x] AES Encyption and Decryption in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BeeStafck-and-MC1321x-AES-Encyption-and-Decryption/m-p/207922#M17652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Janell A.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It can be done by sending a Transport key with a new sequence number and new key&amp;nbsp;as a broadcast and then waiting 9 seconds (for the broadcast to timeout) and then send a swith key command as a broadcast.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you are doing a hobby project i would not recommend spending too much time on doing that.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2008 22:10:11 GMT</pubDate>
    <dc:creator>Mads</dc:creator>
    <dc:date>2008-04-01T22:10:11Z</dc:date>
    <item>
      <title>[BeeStafck and MC1321x] AES Encyption and Decryption</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BeeStafck-and-MC1321x-AES-Encyption-and-Decryption/m-p/207919#M17649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For the purposes of my research, I need to implement key management, payload encryption, and payload decyrption on the MC1321x motes using the BeeStack.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The 802.15.4 Mac Phy Software Reference Manual assures me that the BeeStack does have AES encryption enabled (4.11.2.1), and I found the corresponding header in the SecruityLib.h header. I've read the basic "how to create a custom app," but it does not explain how BeeStack implement or provides functions for the ZigBee-2006 specification security.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've used BeeStack to generate the configuation for an SRB, Router, GenericApp, Security (default settings), and No Mesh network. (I also created a corresponding project for the NCB as a coordinator.) I further modified the GenericApp to accept UART keyboard input and display the corresponding input in Hyperterminal. The "proof of concept" goal before dealing with OTA transmissions to be able to encrypt a character array and decrypt the array.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone provide any demo code that uses SecLib_AES (or something which achieves the same resutls)? My attempts to use it thus have either failed to compile or caused the mote to crash &lt;/SPAN&gt;&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif"&gt;&lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 00:54:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BeeStafck-and-MC1321x-AES-Encyption-and-Decryption/m-p/207919#M17649</guid>
      <dc:creator>JanellA</dc:creator>
      <dc:date>2008-03-30T00:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: [BeeStafck and MC1321x] AES Encyption and Decryption</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BeeStafck-and-MC1321x-AES-Encyption-and-Decryption/m-p/207920#M17650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Janell,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It is actually quite simple. You do not have to do anything else that selecting a stack configuration with security.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ZigBee 2006 stack profile 1 utilizes what is called network layer security, where the all packets after joining a network will be encrypted.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please study the ZigBee specification and the stack profile 1 specification for details.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you use a protocol analyzer you will see that the packets are now encrypted.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Br,&lt;/DIV&gt;&lt;DIV&gt;Mads&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 16:35:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BeeStafck-and-MC1321x-AES-Encyption-and-Decryption/m-p/207920#M17650</guid>
      <dc:creator>Mads</dc:creator>
      <dc:date>2008-03-30T16:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: [BeeStafck and MC1321x] AES Encyption and Decryption</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BeeStafck-and-MC1321x-AES-Encyption-and-Decryption/m-p/207921#M17651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;After the network is up and running, is it possible to distribute a new key to replace the hard-coded key?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 03:35:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BeeStafck-and-MC1321x-AES-Encyption-and-Decryption/m-p/207921#M17651</guid>
      <dc:creator>JanellA</dc:creator>
      <dc:date>2008-04-01T03:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: [BeeStafck and MC1321x] AES Encyption and Decryption</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BeeStafck-and-MC1321x-AES-Encyption-and-Decryption/m-p/207922#M17652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Janell A.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It can be done by sending a Transport key with a new sequence number and new key&amp;nbsp;as a broadcast and then waiting 9 seconds (for the broadcast to timeout) and then send a swith key command as a broadcast.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you are doing a hobby project i would not recommend spending too much time on doing that.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 22:10:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BeeStafck-and-MC1321x-AES-Encyption-and-Decryption/m-p/207922#M17652</guid>
      <dc:creator>Mads</dc:creator>
      <dc:date>2008-04-01T22:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: [BeeStafck and MC1321x] AES Encyption and Decryption</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BeeStafck-and-MC1321x-AES-Encyption-and-Decryption/m-p/207923#M17653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks for the answer. Sadly, I'm not doing a hobby project; rather I'm attempting to complete a master's thesis in ZigBee security.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 07:10:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BeeStafck-and-MC1321x-AES-Encyption-and-Decryption/m-p/207923#M17653</guid>
      <dc:creator>JanellA</dc:creator>
      <dc:date>2008-04-03T07:10:07Z</dc:date>
    </item>
  </channel>
</rss>

