Monday, June 21, 2010

nRF24LE1 SDK with AES for SDCC

For all of those interested, I have been working on an SDK for the nRF24LE1 chip to use with SDCC. I mainly wrote it for my purposes, but I want to release what I have written. The code is public domain, but I would definitely appreciate it if you linked back to the site if you use it in a project! The nRF24LE1 SDCC SDK lives here.

As it stands, not all of the hardware systems have been implemented (the most glaring omission is probably I2C). Also, some of the subsystems have not been fully tested (the power control block being one of them). If there are any bugs, feel free to let me know.

For those interested, there is a second SDK that I'm releasing (currently set up to build with SDCC for the 24LE1, but can be reconfigured). I have fully implemented AES in this SDK, as well as ported my ARC4 implementation (and made it object-oriented, as well). That library can be found here. It is released under the same terms as the nRF24LE1 SDK.

The AES library can be configured to use the nRF24LE1's built-in AES hardware accelerator or to use an included library function that does the Galois multiplication in software. This means that you can also use the same AES implementation with other microcontrollers than the 24LE1, since it doesn't tie you to using the hardware accelerator. This should make it easier if you're using the 24LE1 as a data collection node that reports information wirelessly to a more powerful central microcontroller, but you want the central microcontroller to also be able to encrypt/decrypt AES data.

If you want to use these libraries, you have to let SDCC know where to find the header files and libraries. For the compile step, you should add "-I [PathToLibrary]/include" (without quotes) to your command line. For the link step, you should add "-L [PathToLibrary]/lib" (without quotes) to your command line. Replace "[PathToLibrary]" with whatever the path is to the top level of the library on your system (including the top level folder, which would be either nrf24le1_sdk or cryptography).

Labels: , , ,

17 Comments:

At July 1, 2010 at 5:26 AM , Anonymous Anonymous said...

They look great. Thank you very much!

Simon

 
At October 11, 2010 at 7:14 AM , Blogger ksinkar said...

your non-aes sdcc sdk which you have released in the public domain seems to be useful, but can be of more help if you release it under an open-source license (preferably LGPL) so that it can be included in the sdcc project (whatever part of your code that might be helpful) without further complications. Finally its your call.
Please let me know

 
At October 11, 2010 at 9:40 AM , Blogger brennen said...

I have added LGPL 2.1 licensing to the libraries locally. It will be included when I release the next version of the libraries (soon).

 
At October 28, 2013 at 9:13 AM , Blogger Unknown said...

Very nice post. I just stumbled upon your weblog and wanted to say that I've truly enjoyed browsing your blog posts. After all I will be subscribing to your rss feed and I hope you write again soon!
Also visit my web-site:Black Friday HP Chromebook 11 Deals or Coupons

 
At November 30, 2013 at 7:35 AM , Blogger Rosalindahallam said...

In this year I want to buy a vacuum cleaner. Unfortunatly, There aren't any deals for my product at local market. I think I have to find a deal for vacuum cleaner at onlion shop like Amazon.

 
At March 21, 2014 at 10:49 AM , Blogger Unknown said...

Hi!
Have you a code example for nrf24le1
that sending data to the
nrf24E1 ?

 
At August 8, 2018 at 8:08 AM , Blogger damion said...

FULL list of top android apps with This Month 7 Featured Android Apps Reviews and their quick tips and tricks. Androidpowerhub the Great Blog of Android.

 
At December 6, 2018 at 10:38 PM , Blogger for ict 99 said...

Great Article
Final Year Project Domains for CSE
Project Centers in Chennai





JavaScript Training in Chennai
JavaScript Training in Chennai

 
At January 28, 2019 at 5:26 AM , Blogger Maria said...

Great casino, ever slot machine games online you can safely put the top ten, with the new year already playing. At first I didn’t enter the topic as it is not hung with all sorts of bells and whistles I used to, but over time you realize that only good gaming games, bonuses and timely payments are needed in the casino, everything else interferes and distracts

 
At March 25, 2020 at 8:22 AM , Blogger Aruna Ram said...

Lovely blog...! It is one of the best posts for this topic and I really appreciate your great efforts. Keep continuing...
Placement Training in Chennai
Best placement Training institutes in Chennai
Power BI Training in Chennai
Graphic Design Courses in Chennai
Pega Training in Chennai
Oracle DBA Training in Chennai
Oracle Training in Chennai
Soft Skills Training in Chennai
JMeter Training in Chennai
Tableau Training in Chennai
Appium Training in Chennai
Placement Training in Anna Nagar

 
At March 26, 2020 at 5:50 AM , Blogger dhishageetha said...


This Blog is really informative!! keep update more about this...
Aviation Academy in Chennai
Air Hostess Training in Chennai
Airport Management Courses in Chennai
Best Aviation Academy in Chennai
Ground Staff Training in Chennai
Air Hostess Academy in Chennai
Airport Management Training in Chennai
Airport Ground Staff Training Courses in Chennai

 
At May 14, 2020 at 12:47 AM , Blogger Limousine King said...

Thanks for sharing information post. Limousine King offers affordable limo hire Melbourne that make your accosion special. Wedding Car HireLimo Hire Melbourne prices

 
At May 24, 2020 at 11:14 AM , Blogger merlin said...

Hi, you have given really informative post. Thanks for sharing this post to our vision.
Selenium Training in chennai | Selenium Training in anna nagar | Selenium Training in omr | Selenium Training in porur | Selenium Training in tambaram | Selenium Training in velachery

 
At June 6, 2020 at 1:45 AM , Blogger Kevin Davidson said...

It's very useful article with inforamtive and insightful content and i had good experience with this information.Enroll today to get free access to our live demo session which is a great opportunity to interact with the trainer directly which is a placement based Salesforce training India with job placement and certification . I strongly recommend my friends to join this Salesforce training institutes in hyderabad practical course, great curriculum Salesforce training institutes in Bangalore with real time experienced faculty Salesforce training institutes in Chennai. Never delay to enroll for a free demo at Salesforce training institutes in Mumbai who are popular for Salesforce training institutes in Pune.

 
At July 21, 2020 at 12:07 PM , Blogger surya said...

Very nice blog and articles. I am really very happy to visit your blog. Now I am found which I actually want. I check your blog everyday and try to learn something from your blog. Thank you and waiting for your new post.
angular js training in chennai

angular js online training in chennai

angular js training in bangalore

angular js training in hyderabad

angular js training in coimbatore

angular js training

angular js online training

 
At September 8, 2020 at 9:38 AM , Blogger Sages Marketing said...

Very interesting blog. Many blogs I see these days do not really provide anything that attracts others, but believe me the way you interact is literally awesome.You can also check my articles as well.

Security Guard License
Ontario Security License
Security License Ontario
Security License

Thank you..

 
At October 23, 2020 at 11:30 AM , Blogger Unknown said...

Mobiles and accessories at Mr Black Friday Deals

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home