20 Commits

Author SHA1 Message Date
Gordon Williams
3bca8f096a Added more helpful error messages for TLS 2016-11-21 17:03:11 +00:00
Gordon Williams
0e27a8bc3a docs 2016-09-26 15:59:31 +01:00
Rhys Williams
62815fe124 #define USE_AES to make SHAx functions avaiable on ESP8266 2016-03-29 19:07:10 +13:00
Uri Shaked
f63ec52194 Make crypto compile for ESP8266
Before this fix, compiler complained about `invalid initializer`.
2016-02-23 13:31:02 +02:00
Gordon Williams (u36)
dc5cd0df3c Allow a function to be called to retrieve key/certificate 2016-01-20 17:24:02 +00:00
Gordon Williams (u36)
671407b205 careless - remove debug print 2016-01-20 16:42:54 +00:00
Gordon Williams (u36)
d968917965 Improve malloc behaviour for crypto lib (try and free all command history is first alloc fails)
Improve HTTPS error messages
2016-01-20 13:00:14 +00:00
Gordon Williams
ac7724649b improve docs - report libraries as libraries, sort regardless of case 2015-11-24 14:35:41 +00:00
Thorsten von Eicken
f1a06a5636 missing ; 2015-11-23 22:15:45 -08:00
Gordon Williams
4111ee167a Rename USE_HTTPS to USE_TLS, and enable by default for Pico + Linux
Add 'tls' module with 'connect' - for TLS Socket connections
2015-11-19 17:02:06 +00:00
Gordon Williams
6dcce44354 fix IV initialisation 2015-11-16 16:24:30 +00:00
Gordon Williams
158e5ad9b5 added configurable hashes 2015-11-16 16:12:04 +00:00
Gordon Williams
79136dc131 Make sure PBKDF2 uses SHA512 2015-11-16 15:26:35 +00:00
Gordon Williams
907ae16027 allow lower key sizes for PBKDF2 2015-11-16 14:49:39 +00:00
Gordon Williams
1cdec0aec1 doc tweaks 2015-11-09 09:19:04 +00:00
Gordon Williams
3d5ea30469 added SHA1 and CFB, CTR and ECB AES modes. Moved encrypt/decrypt to require('crypto').AES.encrypt 2015-11-05 17:37:30 +00:00
Gordon Williams
1000917ac2 Added fake alloc and calloc for mbedtls (doesn't look like they should really be needed though - grumble)
Lowered Pico JsVar count TEMPORARILY - because of pointless RAM usage by mbed
fix mnem leak in PBDK2
2015-10-02 16:02:10 +01:00
Gordon Williams
eb48e0c47b add iv support 2015-10-02 15:17:51 +01:00
Gordon Williams
26f965510a working PBKDF2, and AES doing something, but not tested 2015-10-01 18:49:30 +01:00
Gordon Williams
dba7b772af first commit - not building yet 2015-09-30 15:53:15 +01:00