It is that maybe less modification working on the components is better, so I just modified the platform
code of AES, SHA and so on.
ESP8266 has no real hardware AES, SHA or bignum peripheral, but some method can speed up the process of part
of upper algorithm, so I also added the platform code of AES, SHA, bignum, ARC, MD5.
ESP8266 has no platform of bignum, so users should not enable the bignum hardware at "menuconfig".
1. Add wolfSSL library in esp_tls component
2. Added wolfssl support to http-client & ota.
3. Client, OTA examples fixed. Bug fixes in esp-tls wolfssl support.
4. Fix a bug of esp_tls when work on no-block mode
5. Add macro to disable ipv6 configuration
6. Modify "read" and "write" of esp_tls structure to pass compiling
1. Add support to add CN from config and validate PEM buffers
2. Fix incorrect closing of fd 0 on connection failure
3. Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store. Signed-off-by: Chirag Atal <chirag.Atal@espressif.Com>
4. Add checks to for CONFIG_MBEDTLS_SSL_ALPN
5. Mqtt: ssl mutual authentication example added per PR from github, corrected cmake build, updated per idf style
This is based on from esp-idf's esp-tls component.
Latest commit ID on esp-idf: dec70a760120d3c6d1d63ac0257dce6a8561879c
Some HTTP convenience APIs have been removed from esp-idf's esp-tls component while porting it ESP8266-RTOS-SDK due to
non-availabilty of http_parser