Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

CyaSSL

SSL

  • Please log in to reply
3 replies to this topic

#1 Frank26080115

Frank26080115

    Member

  • Members
  • PipPip
  • 22 posts

Posted 10 April 2013 - 04:48 PM

I am interested in using SSL with the Netduino Plus 2. I have done some research and apparently OpenSSL is too big for the Netduino. But I have also found CyaSSL, which claims to be a SSL library designed specifically for small embedded platforms. Supposedly, it uses 100kB of flash and 50kB of RAM at most.

 

CyaSSL has already been ported to mbed (http://mbed.org/user...ka/code/CyaSSL/), so Netduino Plus has some competition in this area.

 

I would like to see CyaSSL ported to .NET MF or built into the firmware

 

Of course, it'll be easier to code with FreeRTOS since it'll be much easier to add in CyaSSL since it's C, but I want to see if I can stick with .NET MF first.

 

I did look at the firmware source code and I can make guesses as to where to place the CyaSSL files (probably something like "netduino2firmwareDeviceCodepalcyassl", right?). But I am not sure on how to create a class similar to System.Net.Socket that interops with the CyaSSL C code.

 

There are other ways of doing this, I can just merge it into lwIP__Sockets.cpp itself, but it'll feel like a dirty hack.

 

I can also just do application layer security instead of transport layer, but that feels dirty as well and takes more work on the server.



#2 Cuno

Cuno

    Advanced Member

  • Members
  • PipPipPip
  • 144 posts
  • LocationZrich / Switzerland

Posted 10 April 2013 - 05:06 PM

I would like to see CyaSSL ported to .NET MF or built into the firmware

I would love to see this, as well. But before you start investing your time, you may want to look at the second (as far as I know) open source candidate, Matrix SSL:

 

http://www.matrixssl.org/

 

Also dual-licensed.

 

Disclaimer: I have no experience with either stack, nor any preferences from what I have learned about them so far. Any high-quality, small footprint embedded SSL stack for NETMF would be wonderful, however!

 

Cuno



#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 10 April 2013 - 08:47 PM

Hi Frank, If you wanted to hack away at this, you may be able to get a few other native code community members interested in helping out. I bet that quite a few folks would love a tiny SSL implementation on their Netduinos. Chris

#4 cconlon

cconlon

    New Member

  • Members
  • Pip
  • 2 posts

Posted 11 April 2013 - 12:22 AM

Hi Frank,

 

I'm a software developer for wolfSSL (formerly yaSSL).  Just wanted to chime in and note that one of our top priorities is giving free support to open source projects.  As such, we'd be happy to support you along your way with any CyaSSL-specific questions if you chose to go the CyaSSL route.  Feel free to reach out to us anytime at support@wolfssl.com.

 

- Chris







Also tagged with one or more of these keywords: SSL

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.