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: , , ,


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

They look great. Thank you very much!


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...

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 PUBG Player said...

Mobiles and accessories at Mr Black Friday Deals

At October 29, 2020 at 4:13 AM , Blogger Unknown said... laptops bag

At October 30, 2020 at 1:34 PM , Blogger Unknown said...

Great snow blowers Pro Black Friday Dealz

At November 17, 2020 at 5:07 AM , Anonymous Vietnam Airline said...

Aivivu - vé máy bay

vé máy bay tết

Ve may bay di My

vé máy bay đi Pháp giá rẻ

vé đi hàn

vé máy bay nội địa nhật bản giá rẻ

giá vé máy bay sang Anh quốc

đặt vé rẻ

At November 23, 2020 at 8:24 AM , Anonymous Karl Harbert said...

Can you explain it more easy? I didn't get it. If you post it on twitter, nobody like it and you will have to buy twitter likes from here or somewhere else

At December 2, 2020 at 3:56 AM , Anonymous Amy Jenkins said...

Thanks for sharing the information.

At December 22, 2020 at 2:20 AM , Blogger jhansi said...

Oracle Corporation is an American multinational computer technology corporation headquartered in Redwood Shores, California.
tally training in chennai

hadoop training in chennai

sap training in chennai

oracle training in chennai

angular js training in chennai

At January 15, 2021 at 5:11 AM , Blogger Sam Baker said...

I love this blog!! The flash up the top is awesome!!content://

At January 23, 2021 at 12:11 AM , Blogger Sam Baker said...

Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's
nice to find a website that details so much
information about different artists.

At February 4, 2021 at 2:08 AM , Anonymous ve may bay tet said...

Săn vé máy bay tại Aivivu, tham khảo

vé máy bay đi Mỹ giá bao nhiêu

bay từ mỹ về việt nam

vé máy bay từ nhật về vn

khi nào có chuyến bay từ canada về việt nam

At February 14, 2021 at 1:08 AM , Blogger seoexpert said...

Awesome post, and incredible site. Much obliged for the data! tadafil

At March 31, 2021 at 12:44 PM , Blogger Marty Sockolov said...


At March 31, 2021 at 1:10 PM , Blogger Marty Sockolov said...


At April 10, 2021 at 3:46 PM , Blogger thomas said...

Movie-watching websites that are more than movie-watching websites Because we are the number 1 free movie site in Thailand for a long time, including new movies, Thai movies, Western movies, Asian movies, we have all kinds of ways for you Including new series Full of all stories without interstitial ads to keep annoying anymore. One place

Android and IOS operating systems. Watch online movies, Thai movies, Western movies, Asian movies, Cartoon movies, Netflix Movie, Action Movies, Comedy Movies, Crime Movies, Drama Movies, Horror Movies, Adventure Movies, Crash Movies and still have many new movies to watch. You can watch for free anytime, anywhere 24 hours a day at

GangManga read manga, read manga, read manga online for free, fast loading, clear images in HD quality, all titles, anywhere, anytime, on mobile, tablet, computer. Android and IOS operating systems. Read top comics, action dramas, comedy, adventure, horror and manga. New coming every day to watch many more. Can be read for free anytime anywhere 24 hours a day at

It is no secret that football is among the most popular and widely watched sports. Everybody who likes football tries to find the best platform for free soccer streaming. So, what are the best free sports streaming sites? We are going to answer this question. On this page, you can find a detailed overview of the most widespread soccer streaming websites. Keep on reading and make the best choice for you

At April 26, 2021 at 2:38 AM , Blogger aishu said...

Awesome post. I am glad to see your article. Very interesting to read your article. AWS Certification Course in Chennai

At May 10, 2021 at 2:14 PM , Blogger Maradona Jons said...

With special privileges and services, UEFA BET offers opportunities for small capitalists. Together ufa with the best websites that collect the most games With a minimum deposit starting from just 100 baht, you are ready to enjoy the fun with a complete range of betting that is available within the website

ufabet , our one another option We are a direct website, not through an agent, where customers can have great confidence without deception The best of online betting sites is that our Ufa will give you the best price

หาคุณกำลังหาเกมส์ออนไลน์ที่สามารถสร้างรายได้ให้กับคุณ เรามีเกมส์แนะนำ เกมยิงปลา รูปแบบใหม่เล่นง่ายบนมือถือ คาสิโนออนไลน์ บนคอม เล่นได้ทุกอุปกรณ์รองรับทุกเครื่องมือ มีให้เลือกเล่นหลายเกมส์ เล่นได้ทั่วโลกเพราะนี้คือเกมส์ออนไลน์แบบใหม่ เกมยิงปลา

อีกทั้งเรายังให้บริการ เกมสล็อต ยิงปลา แทงบอลออนไลน์ รองรับทุกการใช้งานในอุปกรณ์ต่าง ๆ HTML5 คอมพิวเตอร์ แท็บเล็ต สมาทโฟน คาสิโนออนไลน์ และมือถือทุกรุ่น เล่นได้ตลอด 24ชม. ไม่ต้อง Downloads เกมส์ให้ยุ่งยาก ด้วยระบบที่เสถียรที่สุดในประเทศไทย

At May 10, 2021 at 3:17 PM , Blogger Abdulla said...

I read this article. I think You put a great deal of exertion to make this article.
buy instagram followers

At May 14, 2021 at 11:13 AM , Blogger Maradona Jons said...

อีกทั้งเรายังให้บริการ เกมสล็อต ยิงปลา แทงบอลออนไลน์ รองรับทุกการใช้งานในอุปกรณ์ต่าง ๆ HTML5 คอมพิวเตอร์ แท็บเล็ต สมาทโฟน คาสิโนออนไลน์ และมือถือทุกรุ่น เล่นได้ตลอด 24ชม. ไม่ต้อง Downloads เกมส์ให้ยุ่งยาก ด้วยระบบที่เสถียรที่สุดในประเทศไทย

At May 14, 2021 at 11:57 AM , Blogger Maradona Jons said...

หาคุณกำลังหาเกมส์ออนไลน์ที่สามารถสร้างรายได้ให้กับคุณ เรามีเกมส์แนะนำ เกมยิงปลา รูปแบบใหม่เล่นง่ายบนมือถือ คาสิโนออนไลน์ บนคอม เล่นได้ทุกอุปกรณ์รองรับทุกเครื่องมือ มีให้เลือกเล่นหลายเกมส์ เล่นได้ทั่วโลกเพราะนี้คือเกมส์ออนไลน์แบบใหม่ เกมยิงปลา

At May 17, 2021 at 4:39 PM , Blogger thomas said...

สตีฟ บรูซ ได้รับรางวัลผู้จัดการทีมยอดเยี่ยม พรีเมียร์ลีก ประจำเดือนเมษายน ผู้จัดการทีม นิวคาสเซิล ยูไนเต็ด นำทีมของเขาเก็บไปได้ 8 แต้มจากการแข่งขันทั้ง 4 นัดโดยไม่เลยแม้แต่เกมเดียวช่วยให้ทีมของเขาการันตีการอยู่รอดบนลีกสูงสุดไปต่อได้อีกฤดูกาล เดอะ แม็กพายส์ ตามตีเสมอ...ufa

At May 21, 2021 at 12:55 PM , Blogger Marty Sockolov said...

Baccarat is money making and it's spectacular availability. The best In your case it's found that you will find quite interesting options. And that is thought to be a thing that's rather varied And it's very something that's rather prepared to strike with Probably the most good, as well, is a genuinely good option. Moreover, it's a truly interesting alternative. It's the simplest way which could generate profits. Superbly ready The number of best-earning baccarat will be the accessibility of making by far the most money. As much as achievable is very ideal for you An alternative which could be guaranteed. To a wide variety of supply and performance And find out excellent benefits also..บาคาร่า

At May 29, 2021 at 2:58 PM , Blogger Maradona Jons said...

pgslot ซึ่งเกมคาสิโนออนไลน์เกมนี้เป็นเกมที่เรียกว่าเกม สล็อตเอ็กซ์โอ คุณรู้จักเกมส์เอ็กซ์โอหรือไม่ 90% ต้องรู้จักเกมส์เอ็กซ์โออย่างแน่นอนเพราะในตอนนี้เด็กนั้นเราทุกคนมักที่จะเอาก็ได้ขึ้นมา สล็อต เล่นเกมส์เอ็กซ์โอกับเพื่อนเพื่อนแล้วคุณรู้หรือไม่ว่าในปัจจุบันนี้เกมส์เอ็กซ์โอนั้นกลายมาเป็นเกมซะลอสออนไลน์ที่ให้บริการด้วยเว็บคาสิโนออนไลน์คุณสามารถเดิมพันเกมส์เอ็กซ์โอกับเว็บคาสิโนออนไลน์ได้โดยที่จะทำให้คุณนั้นสามารถสร้างกำไรจากการเล่นเกมส์เดิมพันออนไลน์ได้เราแนะนำเกมส์ชนิดนี้ให้คุณได้รู้จักก็เพราะว่าเชื่อว่าทุก

At May 31, 2021 at 2:52 PM , Blogger Marty Sockolov said...

one fast brownIn case you are looking for a good site, UFA, UEFA Bet casino site. Which can be played as a thorough answer, in a position to answer Quality and Performance It's ideal to get a great deal of the issues. It can be something very punching and fascinating. Excellently, the items that UFABET football betting is absolutely nothing even with the practical experience of quality. Plus accessibility that are able to see final results It's a model that is very sharp and also different. Full of performance of creating wealth Attractiveness With the most beneficial opportunities it is quite nothing You will find opportunities and also probabilities for making profits. Quality and also somewhat diverse For people who have come to make use of the service excellently fox

At June 15, 2021 at 3:18 AM , Blogger aditya said...

I read that Post and got it fine and informative.

What is content://
ashley jade stern
lionel messi height
jasmine williams brad williams
Syntax content://com. Android.browser.home/

At June 22, 2021 at 4:38 PM , Blogger UFABET1688 said...

Nice post. I learn something new and challenging on blogs I stumbleupon on a daily basis. It will always be interesting to read articles from other authors and practice something from their sites. ยูฟ่าสล็อต

At June 25, 2021 at 6:04 AM , Blogger melbournechauffeursservices said...

Great job for publishing such a nice article. Your article isn’t only useful but it is additionally really informative. Thank you because you have been willing to share information with us.
Limousine Service Melbourne

At August 12, 2021 at 8:08 AM , Blogger James Carter said...

I really like your writing style, great information, thankyou for posting. We are provide luxury van service in Dubai tour. Booking now if are you looking for private best van service in Dubai. Luxury van rental in dubai

At August 14, 2021 at 3:09 PM , Blogger Unknown said...

At August 18, 2021 at 2:30 PM , Blogger Unknown said...

great you are doing well keep it up. best vacuum cleaners

At August 23, 2021 at 6:26 AM , Blogger bestmoversguide said...

Your content gives readers things to think about in an interesting way. Thank you for your clear information. Packer and Movers in Dubai Sports City

At August 25, 2021 at 1:44 AM , Blogger Shah J said...

Very Nice article, Thanks For Sharing , keep it up we are here to learn more. cheap limousine hire dubai

At October 5, 2021 at 2:37 PM , Blogger Alexander Debrah said...

We understand that high-value assets are particularly vulnerable while in transit. Shipments and goods are constantly targeted close protection in UKby opportunistic and organized criminals. We must always stay ahead of them. The threats against high-value assets and valuable freiight are on the rise globally. For this reason, the protection and security of transported and static goods are paramount. Our experts have a deep understanding of how what these assets need to be safe from long-term and immediate security threats.

At November 19, 2021 at 2:00 AM , Anonymous e visa of Turkey said...

Aw, this was a really nice post. And a genuine effort to make a really good website… You can apply for an online Turkish visa - If you are Planning a Trip to Turkey for tourism, business purposes. You can fill the e visa of Turkey application form in less than 5 to 10 minutes.


Post a Comment

Subscribe to Post Comments [Atom]

<< Home