mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-14 08:03:09 +03:00
993a29f2b26cefeb80189451b88c29b31e84e640
For HTTP public key pinning (RFC7469), the SHA-256 hash of the Subject Public Key Info (which usually only changes when the public key changes) is used rather than the SHA-1 hash of the entire certificate (which will change on each certificate renewal).
Replacement for Espressif's libssl, kept as close as possible to axTLS source. Currently based on axTLS 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.3%
C
32.7%
Python
3.7%
HTML
0.9%
Shell
0.8%
Other
0.6%