CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

TLS library that will work on PIC24FJ1024GA606? Wiznet 5500

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
allenhuffman



Joined: 17 Jun 2019
Posts: 672
Location: Des Moines, Iowa, USA

View user's profile Send private message Visit poster's website

TLS library that will work on PIC24FJ1024GA606? Wiznet 5500
PostPosted: Mon Jun 22, 2026 4:02 pm     Reply with quote

Mbed TLS is highly recommended, but it requires 32-bit ints.

WolfSSL is highly recommended, but it requires a $7500 commercial license.

BearSSL is both highly recommended and highly discouraged -- and still in beta -- but it might work on 16-bit int systems.

Are there any PIC24-friendly TLS options???

We have a new hardware platform I have added http and such to, but we need to support encryption to send e-mail. This has led me down a bunch of routes that all dead end.
_________________
Allen C. Huffman, Sub-Etha Software (est. 1990) http://www.subethasoftware.com
Embedded C, Arduino, MSP430, ESP8266/32, and PIC24 programmer.
http://www.whywouldyouwanttodothat.com ?

Using: 24FJ256GA106, 24EP256GP202, 24FJ64GA002 and 24FJ1024GA606.
Ttelmah



Joined: 11 Mar 2010
Posts: 20093

View user's profile Send private message

PostPosted: Tue Jun 23, 2026 12:47 am     Reply with quote

Wolf is the only library I know that works on the PIC24.
Have you considered adding a hardware SSL chip?. There are a couple of
I2C ones that easily do the 'heavy lifting' of this.
Seriously this is a huge amount of processing work, and is not really suited
for smaller processors. It can be made to work (The Wolf code shows this),
but it still uses a huge amount of code space and processor time. It'd
probably be cheaper and easier, just to move to a smaller PIC, and add an
external chip to handle this. Search for TRUST&GO and TRUSTFLEX. There
are three chips I know of that could be used.
You would be looking at running out of RAM and ROM if you want to do a
lot 'else' on the processor.
allenhuffman



Joined: 17 Jun 2019
Posts: 672
Location: Des Moines, Iowa, USA

View user's profile Send private message Visit poster's website

PostPosted: Tue Jun 23, 2026 9:19 am     Reply with quote

I can only use the hardware I have available. But if they have to do a board spin, they might be able to swap to a PIC32 then we could use Mbed TLS.
_________________
Allen C. Huffman, Sub-Etha Software (est. 1990) http://www.subethasoftware.com
Embedded C, Arduino, MSP430, ESP8266/32, and PIC24 programmer.
http://www.whywouldyouwanttodothat.com ?

Using: 24FJ256GA106, 24EP256GP202, 24FJ64GA002 and 24FJ1024GA606.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group