mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
ssl_set_hostname was mostly useless, because it allowed setting host name of an existing SSL object. However SNI was sent as part of client_hello, which was done in ssl_client_new. So it wasn't possible to actually set host name before connection would start.
Replacement for Espressif's libssl, kept as close as possible to axTLS source. Currently based on axTLS 1.4.9, will be upgraded to 1.5.3.
This is not a self-sufficient library. Application has to provide the following symbols (list not complete yet):
ax_port_malloc
ax_port_calloc
ax_port_realloc
ax_port_free
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)
gettimeofday
time
ctime
For use with LwIP raw TCP API, see compat/README.md
To build, add xtensa toolchain to your path, and run make
.
See LICENSE file for axTLS license.
Languages
C++
61.4%
C
32.7%
Python
3.7%
HTML
0.9%
Shell
0.7%
Other
0.6%