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

At January 23, 2022 at 2:52 AM , Anonymous Anonymous said...

Emperor Casino | Shootercasino
Empire Casino is a relatively new online casino, bk8 With 메리트카지노 a focus on online games in the Philippines and Canada, they are proud of their success in 제왕카지노 the

At February 13, 2022 at 11:30 AM , Blogger said...

Exellent your post. i reaching daily on your blogs. thanks for sharing this informative information.
Buy YouTube Views
Buy YouTube Subscribers
Buy YouTube Live Stream Views
Buy Facebook Live Views
Buy Instagram Reels Views
Buy Instagram Live Views
Buy Instagram Followers
Buy Facebook Views
Buy 500 YouTube Views

At February 16, 2022 at 7:34 AM , Blogger Ava said...

Really liked the informative article.Keep sharing more interesting and informative articles with us...Indian visa Online that allows foreign visitors to come to India. You can apply for Indian visa through the Indian visa website

At March 10, 2022 at 3:10 AM , Anonymous fee for Indian visa said...

Wow.. Very informative article thanks for sharing please keep it up.. After submitting the application and paying the fee for Indian visa, you can get a visa in a few days. India e visa cost depends on your visa type.

At March 11, 2022 at 4:37 AM , Blogger Sophia said...

Thanks for all you do. I like the website themes and layout, you are posting amazing blog.... What is a Sticker Visa for Turkey? E-visa is far easier to apply for than the sticker visa as it is an online and electronic method & Visa-Turkish website. Have you read all the benefits of the Turkey e-Visa & how to apply for the Turkey e-Visa? Get all info from Visa-Turkish website.

At March 24, 2022 at 8:16 AM , Blogger Ponzaar said...

İnstagram takipçi satın al! İnstagram takipçi sitesi ile takipçi satın al sende sosyal medyada fenomen olmaya bir adım at. Sende hemen instagram takipçi satın almak istiyorsan tıkla:

1- takipçi satın al

2- takipçi satın al

3- takipçi satın al

At March 30, 2022 at 3:14 AM , Anonymous Wisdom Security Training said...

Very informative article. Keep sharing more interesting and informative articles with us. You can check some of our blogs for reference
Security guard training Mississauga
Security guard certification Mississauga
Security guard license Mississauga

At April 4, 2022 at 6:42 AM , Anonymous Biz Empower said...

This article is very informative. You can also check these valuable inforamtion:
digital marketing company Mississauga
web Design and development company Mississauga
IT solutions company Mississauga
cloud consulting services Mississauga

At April 9, 2022 at 11:52 PM , Blogger Socialize Club said...

This is Great Post.. for me, Thanks for sharing with us!!
Buy Real Facebook Live Stream Views
Buy Facebook Comments
Buy Facebook Video Views

At May 7, 2022 at 4:09 AM , Blogger Allen smith said...

This was a very nice post. Thanks for taking the time to write a great post. A tourist visa India US citizen is available in a variety of types, including a 30 day, 1 year, and 5 year visa which can be obtained and tracked quickly and easily online.

At May 10, 2022 at 6:07 AM , Blogger Premium Learnings said...

Get your Career in IT on track with our Career Accelerator Program by Premium Learnings

Check our Youtube channel for our training videos -

For more info do visit us:

At May 13, 2022 at 10:26 PM , Blogger cyber pc said...

thanks For sharing this top notch article.i exploit this newsletter to function my venture in's far beneficial For me amazing paintings. Vegas Pro Cracked

At May 14, 2022 at 2:27 AM , Blogger cyber pc said...

Malwarebytes Crack Download that is my first duration i go to right here and i discovered consequently many enthralling stuff for your blog specifically it is aeration, thank you.

At May 17, 2022 at 1:55 AM , Blogger Cyberz Pc said...

Happy brothers day! To have a brother like you is a blessing! that is truely intellectual content material and written thinking about ease for a regulate. it's best to peer that some human beings but put taking region as soon as a way to write a man or woman nation.!

At May 30, 2022 at 2:58 AM , Blogger Van Car Accessories said...

seat covers Australia
auto nano ceramic coating
Car Service Melbourne
best ceramic coating

At May 30, 2022 at 5:02 AM , Blogger Roof Racks Kayak said...

roof carrier systems Melbourne
Car Roof Racks Melbourne
Roof Racks Store in Melbourne
roof rack accessories in Melbourne

At June 2, 2022 at 7:47 AM , Anonymous VIP Discovery Station said...

Really helpful information. Thanks for sharing.

At June 16, 2022 at 1:25 AM , Blogger Jacy Knightly said...

I learn from a good blog, your blog is a great inspiration, thank you. India visas for US citizens are available online. US citizens can apply for an Indian visa within 5 to 10 minutes. Firstly you can read all the document requirements for Indian visa for US citizens via our website then you can apply for your Indian visa.

At June 30, 2022 at 2:35 AM , Blogger Trend Movers Dubai said...

Nice and helpful blog. Contact We are professional Movers and packers in Dubai.

At June 30, 2022 at 2:36 AM , Anonymous TREND MOVERS DUBAI said...

Nice and informative blog. Contact

At July 10, 2022 at 9:21 AM , Anonymous Moving Services said...

Great blog post indeed. Trend Movers Dubai is Dubai Movers Company. At Trend Movers Dubai, We are providing complete Professional removals service with best rates. Contact

At July 21, 2022 at 6:38 AM , Blogger James smith said...

Hii friends, I wanted to write a little Info related to Visa. Are you interested in traveling to any country? Yes, you can apply visa online. You can fill out your visa application form online within 5 to 10 minutes via our Visacent website. We offer visas to citizens of over 190 countries. You can read more info about visas via our website.

At July 29, 2022 at 2:56 AM , Blogger newsmedia said...

Thank you for shearing post amazing this is post very useful for me.
New Media
Kiran Pichai
Latest News
Latest News
Latest News
Latest News
Latest News
Latest News

At August 1, 2022 at 5:35 AM , Blogger southeastluxury said...

With over 10 years of experience in Business airport transfers in Melbourne and luxury airport transfer Melbourne, we know how to ensure an on-time transfer of customers to the airport.

At September 8, 2022 at 2:30 AM , Blogger annomos said...

remove suryaGambling can affect self-esteem, relationships, physical and mental health, work performance and social life

At November 28, 2022 at 11:02 AM , Blogger designingcourses said...

Learn graphic designing courses in bangalore we provide best graphic designing training and 100% placement assistance

At January 30, 2023 at 3:15 AM , Anonymous Taxi with Baby seat near me 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.
Taxi with baby seat

At February 5, 2023 at 10:41 PM , Blogger indigomovers said...

This comment has been removed by the author.

At February 5, 2023 at 10:42 PM , Blogger indigomovers said...

This comment has been removed by the author.

At February 5, 2023 at 10:42 PM , Blogger indigomovers said...

<a href=">professional movers and packers in dubai </a> the best local movers and packers service in Dubai having storage and loded unloaded service

At March 25, 2023 at 10:16 PM , Anonymous Anonymous said...

USA pone Video
USA SEX WEB weightloss tips uk


Post a Comment

Subscribe to Post Comments [Atom]

<< Home