Angus Gratton
3dfa2272cc
mbedtls: mbedlts_net_bind should bind on all interfaces with bind_ip == NULL
...
As per mbedtls documentation. This is different to lwip_getaddrinfo()
which uses loopback for a NULL address.
Fixes bug mentioned here https://groups.google.com/forum/#!topic/esp-open-rtos/3KH5TZSTMUw
2016-02-09 10:54:57 +11:00
Angus Gratton
87f77b1021
Refactor Hardware RNG functions to esp/hwrand.h
...
As suggested by @foogod, thanks!
2015-09-24 20:48:16 +10:00
Angus Gratton
b03f279f74
mbedTLS: Add ESP8266 hardware entropy source discovered by @foogod
...
Addresses #3 , provided turns out to be an effective HWRNG.
2015-09-20 21:15:30 +10:00
Angus Gratton
1b22cc088e
Add initial mbedTLS and HTTPS example project (using howsmyssl.com JSON API)
...
mbedTLS version 2.1.0 (current stable)
Has some known issues/hacks:
* Entropy source not hooked in at all
* Linker script has a messy hack in it to store some (not all) data in
irom
2015-09-20 21:13:38 +10:00