wolfssl-examples/tls
Levi Rak 27181cb123 README nuke 2017-06-01 09:21:38 -06:00
..
Makefile reformed the Makefile for generality 2017-05-30 13:21:46 -06:00
README.md README nuke 2017-06-01 09:21:38 -06:00
client-callback.c make *-tls-callback from *-tls 2017-05-31 11:10:51 -06:00
client-tcp.c make *-tls-nonblocking from *-tls 2017-05-31 17:16:41 -06:00
client-tls-callback.c make *-tls-nonblocking from *-tls 2017-05-31 17:16:41 -06:00
client-tls-ecdhe.c make *-tls-nonblocking from *-tls 2017-05-31 17:16:41 -06:00
client-tls-nonblocking.c README nuke 2017-06-01 09:21:38 -06:00
client-tls-perf.c Fix async write handling in client-tls-perf. 2017-01-30 14:25:51 -08:00
client-tls-resume.c
client-tls-writedup.c add client-tls-writedup example 2017-03-20 15:21:55 -07:00
client-tls.c make *-tls-nonblocking from *-tls 2017-05-31 17:16:41 -06:00
memory-tls.c add in memory TLS I/O callback example 2016-06-24 13:20:51 -07:00
server-tcp.c make *-tls-nonblocking from *-tls 2017-05-31 17:16:41 -06:00
server-tls-callback.c make *-tls-nonblocking from *-tls 2017-05-31 17:16:41 -06:00
server-tls-ecdhe.c make *-tls-nonblocking from *-tls 2017-05-31 17:16:41 -06:00
server-tls-epoll-perf.c Fixes for TLS perf examples. Fixed issue with server-tls-epll-threaded not doing wolfAsync_DevClose. Enhanced server-tls-epll-threaded to use the wolfAsync_DevOpenThread feature to assign thread and QuickAssist core affinity. Added “-a” option on servers to allow TLS version downgrade. Enhancements to the Makefile. Other various cleanups. 2017-01-26 17:11:32 -08:00
server-tls-epoll-threaded.c Fixes for TLS perf examples. Fixed issue with server-tls-epll-threaded not doing wolfAsync_DevClose. Enhanced server-tls-epll-threaded to use the wolfAsync_DevOpenThread feature to assign thread and QuickAssist core affinity. Added “-a” option on servers to allow TLS version downgrade. Enhancements to the Makefile. Other various cleanups. 2017-01-26 17:11:32 -08:00
server-tls-nonblocking.c README nuke 2017-06-01 09:21:38 -06:00
server-tls-threaded.c update tcp_connect arguments and cleanup uninitialized warnings in examples 2016-09-01 11:09:17 -06:00
server-tls.c make *-tls-nonblocking from *-tls 2017-05-31 17:16:41 -06:00

README.md

wolfSSL SSL/TLS Examples

Here are examples focused on TCP/IP connections. The simplest of which are the *-tcp.c files, which demonstrate a simple client/server TCP/IP connection without encryption. From there, the *-tls.c files demonstrate the same connection, but modified to utilize wolfSSL to establish a TLS 1.2 connection.

In general, the naming convention of these files mean that if a file is named in the form X-Y.c, then it's a copy of X.c intended to demonstrate Y. The exceptions being server-tls.c and client-tls.c, as noted above. Furthermore, the files is formated such that using a diff tool such as vimdiff to compare X-Y.c to X.c should highlight only the relevant changes required to convert X.c into X-Y.c

The files in this directory are presented to you in hopes that they are useful, especially as a basic starting point. It is fully recognized that these examples are neither the most sophisticated nor robust. Instead, these examples are intended to be easy to follow and clear in demonstrating the basic procedure. It cannot be guaranteed that these programs will will be free of memory leaks, especially in error conditions.