Example applications using the wolfSSL lightweight SSL/TLS library
 
 
 
 
 
 
Go to file
kaleb-himes c23cbaeb59 removed enc.txt and dec.txt 2015-06-26 21:32:47 -06:00
certs added additional certs for testing with TIRTOS 2014-08-13 16:33:16 -06:00
clu removed enc.txt and dec.txt 2015-06-26 21:32:47 -06:00
crypto link in makefile and ignore exe 2015-02-09 18:40:16 -07:00
dtls Updating DTLS from cyassl to wolfssl, updating headers 2015-05-26 13:06:23 -06:00
psk wolfssl Initial 2015-01-09 16:44:54 -07:00
tirtos_ccs_examples renaming all the files 2015-01-12 15:18:34 -07:00
tls wolfssl Initial 2015-01-09 16:44:54 -07:00
.gitignore link in makefile and ignore exe 2015-02-09 18:40:16 -07:00
README.md Update README.md 2015-03-17 14:32:28 -06:00

README.md

wolfSSL Example Applications

This repository contains example applications, written in C, which demonstrate how to use the CyaSSL lightweight SSL/TLS library for secure communication.

Each directory represents a unique topic (SSL/TLS, DTLS, PSK, etc.) and contains a Makefile as well as a simple tutorial on the given topic.

Current Examples

clu (wolfSSL Command Line Utility)

This is a tool to provide command line access to wolfcrypt cryptographic libraries. wolfSSL command line utility will allow users to encrypt or decrypt a user specified file to any file name and extension.

Please see the README.md in clu/ for further usage and details.

Unique feature to wolfSSL CLU

The decision to allow for unique file extensions was prompted by automated tools available for brute forcing files. It will not provide extra security cryptographically however it will force attackers to check the header information on every single brute force attempt. This will provide further frustration and an extra step in any attempt to brute force a file encrypted with our utility.

DTLS (Datagram TLS)

This directory contains examples of using DTLS, with client and server examples demonstrating UDP, DTLS, non-blocking, session resumption, and multi-threading.

When compiling CyaSSL for use with these examples, CyaSSL will need to be compiled with DTLS support:

cd cyassl-[version]
./configure --enable-dtls

Examples in this directory may be compiled using:

cd ./dtls
make

PSK (Pre-Shared Keys)

This directory contains examples of using PSK, with client and server examples demonstrating TCP/IP, PSK, non-blocking, session resumption, and multi-threading.

When compiling CyaSSL for use with these examples, CyaSSL will need to be compiled with PSK support:

cd cyassl-[version]
./configure --enable-psk

Examples in this directory may be compiled using:

cd ./dtls
make

SSL/TLS

This directory contains examples of using SSL/TLS, with client and server examples demonstrating TCP/IP, SSL/TLS, non-blocking, session resumption, and multi-threading.

Examples in this directory may be compiled using:

cd ./dtls
make

Notes

When necessary, examples will use the example certificates and keys located in the ./certs directory. These certificates and keys have been pulled in from the main CyaSSL repository.

Support

Please contact wolfSSL at support@wolfssl.com with any questions, bug fixes, or suggested feature additions.