Topic: mbed port

Your mbed port is a GREAT example of what is possible with CyaSSL!!!

A co-worker is working on porting a network stack to our embedded device. I was hoping you could share what network stack you chose for the mbed port. From reading your blog I assume µC/TCP-IP...correct?

I saw the blog post regarding some of the performance metrics for cyassl on mbed. Will you share what you had enabled (block cipher, hash, key exchange) for your mbed build. Have any other performance observations to share? Since you are the expert i'm curious. As of right now i'm planning to only support AES, MD5 and RSA. I need to be as small and efficient as possible but of course also keep a certain level of privacy.

Share

Re: mbed port

Whatever TCP stack is included with mbed's cloud compiler.  I'm not sure what that is, will have to check.

The mbed build was complete, no features were left out of the build.  To only build certain parts would obviously make the build smaller.  The performance was about what I'd except from the specs of the processor, no surprises either way.  We'll try to get some more performance numbers with the CyaSSL release next week.

Share

Re: mbed port

ok, so your RTOS is providing the network stack? my environment is different so we have ported our own network stack. I was hoping you had one to suggest as we are seeing problems with our stack. Know any C open source network stacks that you would recommend?

Share

Re: mbed port

I don't.  We typically use what the client has already picked.  Usually the stack is from the OS, the compiler provider, or it's purchased.  I'll ask around though and let you know if I hear of a good one.

Share

Re: mbed port

todd, can you tell me what cipher suits(s) you had compiled for the mbed port to get the 63kB? I'm still working to get everything compiled so I don't know what size the library will be. I'm trying to get a general idea. I understand the size will vary and I plan to compress the binary. Can you tell me the largest size cipher options? It appears AES and Diffie-Hellman are the largest.

Share

Re: mbed port

Everything was included in the mbed build including test code except for SHA-512, DH, DSA, and HC-128.

AES is pretty large for an encryption cipher because of the tables is uses.  ARC4 is much, much smaller.  DH itself is pretty small but like DSA and RSA it needs a big integer library, and that's where the size comes from.

Share