CyaSSL (or yet another SSL) is a small, portable, embedded SSL programming library targeted for use by embedded systems developers. It is an open source implementation of SSL (SSL 3, TLS 1.0, 1.1, 1.2, and DTLS) built in the C language. It includes SSL client libraries and an SSL server implementation as well as support for multiple API's, including those defined by SSL and TLS. CyaSSL also includes an OpenSSL compatibility interface with the most commonly used OpenSSL functions.
CyaSSL is currently available for Win32/64, Linux, Mac OS X, Solaris, FreeBSD, NetBSD, OpenBSD, embedded linux, Haiku, OpenWrt, iPhone, Android, Nintendo Wii and Gamecube through DevKitPro support, QNX, VxWorks, MontaVista, ThreadX, Tron variants, NonStop, OpenCL, Micrium's MicroC/OS-II, FreeRTOS, Freescale MQX, and Nucleus.
The first major user of CyaSSL/yaSSL was MySQL, the world's most popular open source database. Through bundling with MySQL, yaSSL has achieved extremely high distribution volumes in the millions.
Today CyaSSL is used in both open source and commercial projects. CyaSSL is included in many types of network devices such as smart devices on automobiles, IP phones, mobile phones, routers, printers, and credit card scanners.
CyaSSL for embedded SSL implements the SSL 3.0, TLS 1.0, TLS 1.1, TLS 1.2, and DTLS protocols.
CyaSSL uses the following cryptography libraries:
By default, CyaSSL uses the cryptographic services provided by CTaoCrypt which is based in part on Crypto++ (see below). CTaoCrypt strives to be more portable while only providing the functionality necessary for SSL type needs. CTaoCrypt Provides RSA, DSS, Diffie-Hellman, EDH, NTRU, DES, 3DES, AES, ARC4, HC-128, MD2, MD4, MD5, SHA-1, SHA-2, RIPEMD-160, Random Number Generation, Large Integer support, and base 16/64 encoding/decoding. An experimental cipher called Rabbit, a public domain stream cipher from the EU's eSTREAM project, is also included. Rabbit is potentially useful to those encrypting streaming media in high performance, high demand environments. Support for a FIPS validated crypto module is provided by CryptoPP, below.
CTaoCrypt acts as a back-end crypto implementation for several popular software packages and libraries, including MIT Kerberos (where it can be enabled using a build option).
Crypto++ can also be used to handle cryptography and crypto related details. RSA, DES, 3DES, ARC4, MD5, SHA-1, and DSS are currently used by CyaSSL, as well as Crypto++'s cryptographically secure random number generator, large Integer support, and base64 encoding/decoding. Crypto++ includes a precompiled FIPS 140-2 level one crypto module (for Windows) that may be used as well.
CyaSSL+ includes NTRU public key encryption. The addition of NTRU in CyaSSL+ was a result of the partnership between yaSSL and Security Innovations. NTRU works well in mobile and embedded environments due to the reduced bit size needed to provide the same security as other public key systems. In addition, it's not vulnerable to quantum attacks. Several cipher suites utilizing NTRU are available with CyaSSL+ including AES-256, RC4, and HC-128.
Milestones in CyaSSL development include:
- CyaSSL version 2.2.0 was released on May 18, 2012
- CyaSSL version 2.0.8 was released on February 24, 2012
- CyaSSL version 2.0.0rc3 was released on September 28, 2011
- CyaSSL version 1.9.0 was released on March 2, 2011
- CyaSSL version 1.6.0 was released on August 27, 2010.
- CyaSSL version 1.5.0 was released on May 11, 2010.
- CyaSSL version 1.2.0 was released on November 2, 2009.
- CyaSSL version 1.1.0 was released on September 2, 2009.
- CyaSSL version 1.0.2 was released on April 2, 2009.
- CyaSSL version rc3-1.0.0 was released on February 25, 2009.
- CyaSSL version rc1-1.0.0 was released on December 17, 2008.
CyaSSL is Open Source, licensed under the GNU General Public License GPL.
2011 Tomorrow's Technology Today - Mobile Encryption