<?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: How do I secure a ZigBee network payload? in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/How-do-I-secure-a-ZigBee-network-payload/m-p/466209#M789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most of the views may not be the employees, which has all the answers you need. Be patient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the side note however, funny how you bring it up. I have emailed San Juan Software many times last year trying to ask for the Zigbee example code that was provided by Drew Gislason and they never got back to me. The book is called "Zigbee Wireless Networking" and it points us to the website that is currently expired for many years now. ( &lt;A href="http://zigbookexamples.com/code" title="http://zigbookexamples.com/code"&gt;http://zigbookexamples.com/code&lt;/A&gt;​ )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate if you could contact someone and provide me the example code. I bought the book, and I'm not satisfied at all because I felt like I missed out a lot due to lack of the example code. To be honest, it was a good book, but incomplete without the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 May 2016 16:20:40 GMT</pubDate>
    <dc:creator>freshmango90</dc:creator>
    <dc:date>2016-05-06T16:20:40Z</dc:date>
    <item>
      <title>How do I secure a ZigBee network payload?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-do-I-secure-a-ZigBee-network-payload/m-p/466207#M787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I am writing an application (on the KW2x platform) that requires the network payload of my ZigBee data message to be be encrypted with ENC-MIC-32 and no MAC security.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have ported my code from &lt;STRONG&gt;&lt;EM&gt;BeeKit&lt;/EM&gt; &lt;/STRONG&gt;to&lt;STRONG&gt; &lt;SPAN style="color: #eb7a3d;"&gt;&lt;EM&gt;&lt;SPAN class="title ng-scope ng-binding" style="color: #646464; font-family: Arial, sans-serif;"&gt;Kinetis MKW2xD and MCR20A Connectivity Software&lt;/SPAN&gt;&lt;SPAN style="color: #646464; font-family: Arial, sans-serif;"&gt; (REV 1.0.0).&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-size: 12pt; font-family: Arial, sans-serif;"&gt;Previously I had been using SecLib_CcmStar(). In the new middleware I cannot find this or a similar function.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-size: 12pt; font-family: Arial, sans-serif;"&gt;I did some grep'ing and found AES_128_CCM_Star() tucked away in a library, but there is no interface for it and I am unable to determine if I am using it properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-size: 12pt; font-family: Arial, sans-serif;"&gt;Are there any references that use this level of security?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-size: 12pt; font-family: Arial, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-size: 12pt; font-family: Arial, sans-serif;"&gt;Andrew Fitzsimons&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; font-size: 12pt; font-family: Arial, sans-serif;"&gt;San Juan Software&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 20:42:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-do-I-secure-a-ZigBee-network-payload/m-p/466207#M787</guid>
      <dc:creator>andrewfitzsimon</dc:creator>
      <dc:date>2016-04-21T20:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I secure a ZigBee network payload?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-do-I-secure-a-ZigBee-network-payload/m-p/466208#M788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;112 views and no responses... Is anyone out there??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 15:34:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-do-I-secure-a-ZigBee-network-payload/m-p/466208#M788</guid>
      <dc:creator>andrewfitzsimon</dc:creator>
      <dc:date>2016-05-03T15:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I secure a ZigBee network payload?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-do-I-secure-a-ZigBee-network-payload/m-p/466209#M789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most of the views may not be the employees, which has all the answers you need. Be patient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the side note however, funny how you bring it up. I have emailed San Juan Software many times last year trying to ask for the Zigbee example code that was provided by Drew Gislason and they never got back to me. The book is called "Zigbee Wireless Networking" and it points us to the website that is currently expired for many years now. ( &lt;A href="http://zigbookexamples.com/code" title="http://zigbookexamples.com/code"&gt;http://zigbookexamples.com/code&lt;/A&gt;​ )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate if you could contact someone and provide me the example code. I bought the book, and I'm not satisfied at all because I felt like I missed out a lot due to lack of the example code. To be honest, it was a good book, but incomplete without the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 16:20:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-do-I-secure-a-ZigBee-network-payload/m-p/466209#M789</guid>
      <dc:creator>freshmango90</dc:creator>
      <dc:date>2016-05-06T16:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I secure a ZigBee network payload?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-do-I-secure-a-ZigBee-network-payload/m-p/466210#M790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I have found how to use the basic AES_128_CCM() function to encrypt data for the ZigBee network payload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To encrypt use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AES_128_CCM(&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_payload,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;length_of_payload,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_network_aux_header,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;length_of_network_aux_header,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_nonce,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;size_of_nonce,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_aes_128_key,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_payload,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_payload + length_of_network_aux_header + length_of_payload,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;security_level,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;gSecLib_CCM_Encrypt_c);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;To decrypt:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AES_128_CCM(&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_payload,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;length_of_payload - length_of_mic,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_nwk_aux_header,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;length_of_nwk_aux_header,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_nonce,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;length_of_nonce,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_aes_128_key,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_payload,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;pointer_to_payload + length_of_nwk_aux_header + length_of_payload - length_of_mic,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;security_level,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;gSecLib_CCM_Decrypt_c);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 21:32:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-do-I-secure-a-ZigBee-network-payload/m-p/466210#M790</guid>
      <dc:creator>andrewfitzsimon</dc:creator>
      <dc:date>2016-08-22T21:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I secure a ZigBee network payload?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-do-I-secure-a-ZigBee-network-payload/m-p/466211#M791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi freshmango,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately that book is no longer up to date with the latest ZigBee standards, and the example code is out of date. Try emailing &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:support@sanjuansw.com"&gt;support@sanjuansw.com&lt;/A&gt;&lt;SPAN&gt; again with your request.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 21:37:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-do-I-secure-a-ZigBee-network-payload/m-p/466211#M791</guid>
      <dc:creator>andrewfitzsimon</dc:creator>
      <dc:date>2016-08-22T21:37:07Z</dc:date>
    </item>
  </channel>
</rss>

