Home

Awesome

This is an ESP8266 port of axTLS library, currently based on axTLS 2.1.4 (SVN version 277).

This library supports TLS 1.2, and the following cipher suites:

Cipher suite name (RFC)OpenSSL nameKey exchangeEncryptionHash
TLS_RSA_WITH_AES_128_CBC_SHAAES128-SHARSAAES-128SHA-1
TLS_RSA_WITH_AES_256_CBC_SHAAES256-SHARSAAES-256SHA-1
TLS_RSA_WITH_AES_128_CBC_SHA256AES128-SHA256RSAAES-128SHA-256
TLS_RSA_WITH_AES_256_CBC_SHA256AES256-SHA256RSAAES-256SHA-256

Using the library

This is not a self-sufficient library. In addition to the standard C library functions, application has to provide the following functions:

ax_port_read
ax_port_write
ax_port_open
ax_port_close
ax_get_file
phy_get_rand  (provided by the IoT SDK)
ets_printf    (in ESP8266 ROM)
ets_putc      (in ESP8266 ROM)

For use with LwIP raw TCP API, see compat/README.md

Building Build status

To build, add xtensa toolchain to your path, and run make. The library will be built in bin/ directory.

Credits and license

axTLS is written and maintained by Cameron Rich.

Other people have contributed to this port; see git logs for a full list.

See LICENSE file for axTLS license.