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

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

https://loveblackfridaydeals.com/ laptops bag

 
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 https://viplikes.net/ 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://com.android.browser.home/

 
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.https://1asiaqq.net/

 
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 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 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..บาคาร่า
ufa
ufabet
แทงบอล
แทงบอล
แทงบอล

 
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
บาคาร่า
สล็อต
ufa
แทงบอล

 
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 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 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 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 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 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 college.it'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.! https://wishesquotz.com/brothers-day-quotes/

 
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 June 2, 2022 at 7:47 AM , Anonymous VIP Discovery Station said...

Really helpful information. Thanks for sharing. http://vip-discovery-station.com/

 
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 Movers Company|Movers and Packers said...

Nice and helpful blog. Contact Trendmoversdubai.com. We are professional Movers and packers in Dubai. https://trendmoversdubai.com/

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

Nice and informative blog. Contact Trendmoversdubai.com.

 
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 Trendmoversdubai.com
Dubaimoverscompany.com
https://trendmoversdubai.com/
WWW.TRENDMOVERSDUBAI.COM

 
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 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 November 28, 2022 at 11:02 AM , Blogger designingcourses said...

https://designingcourses.in/graphic-designing-courses-in-bangalore/

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="https://www.indigomovers.ae/>professional movers and packers in dubai </a> the best local movers and packers service in Dubai having storage and loded unloaded service

 
At April 28, 2023 at 7:51 AM , Blogger Henry Evelyn said...

To apply for Austria visa, you will need to provide personal information, travel itinerary, purpose of visit, and accommodation details. Ensure your passport is valid for at least six months beyond your intended stay. Apply well in advance of your travel date, as processing times can vary. Be honest and accurate in your application and provide all required documentation. A well-prepared application will increase your chances of obtaining an Austria visa.

 
At June 9, 2023 at 1:00 AM , Blogger henryisabella said...

Indian nationals traveling through Turkey and requiring a transit visa can avail themselves of the Turkey transit visa for Indians. The Turkey transit visa for Indian provides an opportunity for Indian travelers to explore the cultural and historical wonders of Turkey during their layover, making their journey even more enriching and memorable.

 
At June 23, 2023 at 6:44 AM , Anonymous e visa India from Kenya said...

The eVisa system has made it remarkably convenient for Kenyan citizens to obtain a visa to visit India. The e visa India from Kenya offers various visa categories, such as tourist, business, and medical visas, catering to different travel purposes. With the eVisa India from Kenya, Kenyan citizens can embark on their Indian journey.

 
At July 11, 2023 at 1:07 PM , Blogger Henry Evelyn said...

Your efforts contribute to enhancing our understanding and enrich our lives. Thanks for sharing it. How To Renew Your U.S. Passport Online In Under 15 Minutes. The process involves several steps, including filling up a form, taking a compliant passport photo, making the payment, and submitting the application online. Afterward, you'll need to print the form, sign it, and mail it in with your current passport. Processing time may vary.

 
At July 31, 2023 at 1:21 AM , Anonymous Citizenship By Investment Countries List Guide 2023 said...

We greatly value the information you gave us. Thank you for sharing with us. The Citizenship By Investment Countries List Guide 2023 for individuals seeking alternative pathways to acquiring citizenship in different nations. This unique approach allows eligible applicants to invest in the economies of specific countries in exchange for citizenship or residency rights.

 
At August 7, 2023 at 6:02 AM , Blogger charlotteava said...

Your engaging, insightful posts are truly appreciated. Keep up the fantastic work! Traveling from Ukraine to Kenya? Get your Kenya e-Visa for Ukraine hassle-free. Apply online, fulfill the requirements, and uncover the wonders of Kenya's wildlife and breathtaking landscapes.

 
At August 10, 2023 at 2:07 AM , Anonymous 10 Photogenic Spots in Turkey said...

Hello! Your support is invaluable, driving us to create exceptional content. We deeply appreciate your encouragement and are grateful to have you on this writing journey with us. Thank you! Explore Turkey's beauty through 10 photogenic spots in Turkey: magical Cappadocia, stunning Pamukkale, historic Blue Mosque, serene Ephesus, vibrant Istanbul, breathtaking Antalya, ancient Hierapolis, charming Bodrum, picturesque Goreme, and scenic Oludeniz.

 
At August 16, 2023 at 2:39 PM , Blogger Mark Wood said...

I sincerely appreciate your clear kindness in making this priceless material available for sharing. If you're from Indonesia and want an India visa, here's the drill. India Visa for Indonesia Citizens. Hit the web, do the form, attach docs, pay the fee. Wait a while for processing. Once it's a go, you're ready to explore India. Good prep ensures a hassle-free online visa journey.

 
At September 11, 2023 at 5:36 AM , Blogger William said...

Obtaining a London visa for Indians is a significant step for Indian travelers eager to explore the iconic city of London and the United Kingdom at large. Whether you're drawn to the historic landmarks like the Tower of London and Buckingham Palace, the world-class museums, or the vibrant culture, understanding the visa requirements and application process is crucial. This guide will provide you with essential information about securing a London visa as an Indian citizen, including visa types, eligibility criteria, application procedures, and necessary documents. By being well-prepared, you can embark on your London adventure with confidence and make the most of your journey.

 
At September 12, 2023 at 2:10 AM , Anonymous apply Saudi visa online said...

Hello! I'd like to extend my heartfelt appreciation for the invaluable information shared on your blog. Experience convenience by apply Saudi visa online. Save time, complete forms, and check requirements effortlessly via the official website for a stress-free travel experience.

 
At October 13, 2023 at 5:42 AM , Anonymous 5 in 100 Tourists Prefer Turkey for Health Tourism said...

Hi there! I'm delighted to have discovered your blog, even if it happened accidentally. Your post is superb, and I'm excited to read more. Keep up the excellent work!

 
At October 20, 2023 at 3:31 AM , Blogger jofra archer said...

There's an abundance of valuable content on your website. I have to commend you for its excellence. I'm eagerly awaiting more posts of this caliber. Your website's theme is also quite delightful. Your hard work shines through. Kindly click on the link for additional information I'd like to share. Ethiopian Airlines Celebrates 25 Years in the US. Since its debut, the airline has contributed to increased connectivity and travel options for passengers traveling between Ethiopia and the US, further strengthening their aviation services.

 
At October 23, 2023 at 1:59 AM , Anonymous investing in Ecuador said...

"Your blog post takes us on a compelling journey, adroitly weaving intricate ideas and engaging storytelling. It's a testament to your insightful writing, leaving readers both informed and engrossed. Thanks for sharing this enriching piece."

 
At October 23, 2023 at 7:13 AM , Blogger maryjames said...

It's my pleasure to affirm that this website is truly remarkable. I'm eagerly looking forward to more posts like this authored by you. I'd appreciate it if you could visit the link for additional information I'd like to share. Spain Top Visa Choices for Digital Nomads. Discover how to stay legally while working remotely in this sunny European destination. From long-term residency permits to flexible entry schemes, there are several choices available to make your digital nomad dreams a reality.

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home