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.