Christopher Pascoe
a7609bce35
Remove double include of cbuf.h.
2015-12-09 22:17:50 -08:00
Ivan Grokhotkov
5cd42a0316
WiFiClientSecure: don't trash certificate and private key on stop()
2015-12-09 09:23:47 +03:00
Ivan Grokhotkov
14b70e9328
Allow setting client side TLS key and certificate
2015-12-04 19:02:46 +03:00
Me No Dev
a44632b8cf
make compiler happier
2015-11-25 18:11:16 +02:00
Ivan Grokhotkov
8bf1e98f24
Improve debug output on critical errors
2015-11-21 20:04:38 +03:00
Ivan Grokhotkov
e9f0ea2afe
WiFiClientSecure: handle full size TLS fragments ( #43 )
...
- free up some memory by getting rid of intermediate buffer
- libaxtls: update to 6830d98
- allocate plaintext buffer in two stages: 4*MSS initially, grow to 16k after handshake
- free certificate data after handshake is complete
- preallocate some structures to reduce memory fragmentation
2015-11-17 02:47:57 +03:00
Ivan Grokhotkov
77428baddc
WiFiClientSecure rx overflow fixes
...
- Increase plaintext rx buffer size to 4096
- Request more data from axtls only when rx buffer is empty
2015-11-15 22:38:06 +03:00
Ivan Grokhotkov
810ab68ae5
Fix WiFiClientSecure::connected ( #43 )
...
thanks @whyameye
2015-11-09 01:37:22 +03:00
Ivan Grokhotkov
ebdaedff4b
More error checks in WiFiClientSecure
2015-09-28 19:32:45 +03:00
Ivan Grokhotkov
5387b2286e
WiFiClientSecure::available fix
...
Attempt to read data from SSL engine inside WiFiClientSecure::available() if RX buffer is empty.
Fix #784 .
2015-09-16 16:24:52 +03:00
Ivan Grokhotkov
f73d414f38
WiFiClientSecure: add certificate fingerprint verification ( #43 )
2015-09-14 10:22:54 +03:00
Ivan Grokhotkov
098c71ca02
Improve receive handling in TLS support ( #43 )
2015-09-13 22:49:30 +03:00
Ivan Grokhotkov
9a2f2f2849
Add axTLS, first draft of WiFiClientSecure ( #43 )
2015-09-01 15:45:12 +03:00