15 Commits

Author SHA1 Message Date
wilberforce
51aaddd6a3 ESP8266 add flash_memcpy 2016-04-29 17:17:04 +12:00
Rhys Williams
cae475cad6 move shaX.c constants to flash, 1072 bytes additional heap 2016-04-29 14:10:42 +12: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
43685388a3 removing compile warnings 2015-12-07 14:12:52 +00: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
3db2f75ea1 Now automatically allocating all required data in JsVars 2015-11-18 18:38:42 +00:00
Gordon Williams
2760040a26 changes to stop full stdlib being pulled in 2015-11-17 14:17:07 +00:00
Gordon Williams
8c8f84380a compile HTTPS support only if requested with USE_HTTPS 2015-11-17 12:46:18 +00:00
Gordon Williams
8cdc75fa28 first slightly hacky (but working) HTTPS implementation 2015-11-17 11:17:03 +00:00
Gordon Williams
929274c2bd bug in mbedtls? won't build with just RSA 2015-11-17 11:01:45 +00:00
Gordon Williams
79136dc131 Make sure PBKDF2 uses SHA512 2015-11-16 15:26:35 +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
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