Reputation: 7350
I have a standalone application (client) and the server which is talking my own protocol. Now, I have to implement encryption so third parties can't see any customer's data. I thought about using OpenSSL, but OpenSSL is not designed to work with asynchronous sockets in Edge Triggered mode (server side is written in C and uses epoll, linux only).
What alternatives to OpenSSL do you recommend under LGPL or BSD license so that it would provide same level of security as SSL, but is easier to integrate and works well with asynchronous sockets?
Upvotes: 0
Views: 380
Reputation: 4853
SSL/TLS has nothing to do with the way sockets are handled, I assume you were talking about OpenSSL. OpenSSL can be used with sockets in edge-triggered mode, see for example how libevent (bufferevent_openssl.c) or libcurl are using it.
You have several options though, as PolarSSL, CyaSSL and GnuTLS all support asynchronous usage.
Upvotes: 1