51 Commits

Author SHA1 Message Date
768afde238 feat(util): Add extra SHA and unit test
1. wpa_supplicatn use extra SHA default
2. mbedtls use extra SHA default
3. bootloader use extra SHA default
4. user code can use extra SHA default

Above all, using unified module is easy to maintenance code and save rom or ram.
2019-04-15 16:18:21 +08:00
ab8fb60bd5 docs(ssl): Add license note to README and header file 2019-01-22 09:47:46 +08:00
f56dfe2b14 feat(ssl): use mbedtls by default 2019-01-14 15:59:20 +08:00
38a29a64db feat(wolfssl): add wolfssl debug option 2019-01-14 14:56:25 +08:00
8209aebd9f feat(wolfssl): add wolfssl library for debug 2019-01-13 10:22:57 +08:00
b68e47b746 feat(wolfssl): update wolfssl to commercial version 3.15.7 2019-01-12 22:23:02 +08:00
57c6215f9b Merge branch 'feature/mbedtls_separate_Rx_Tx_buffers' into 'master'
feature/mbedtls_separate_Rx_Tx_buffers: Separating Tx, Rx buffer size setup

See merge request sdk/ESP8266_RTOS_SDK!581
2018-11-15 09:47:09 +08:00
5da37aa0a9 feat(ssl): Using WolfSSL as default
Add sdkconfig.defaults for example base on mbedTLS.
2018-11-06 17:48:08 +08:00
9355e427d1 feat(ssl): Add config for mbedTLS RSA bits
Add ERROR information for users.
2018-10-29 17:48:01 +08:00
0a855de586 feature/mbedtls_separate_Rx_Tx_buffers: Separating Tx, Rx buffer size setup
* Separating MBEDTLS_SSL_MAX_CONTENT_LEN into input and output buffers.
* Beneficial for saving memory by reducing Tx buffer independently of Rx buffer.
* Taken from https://github.com/ARMmbed/mbedtls/pull/536
2018-10-24 13:08:03 +05:30
44a2885d6b mbedtls: Add config option for CTR Mode
Signed-off-by: Piyush Shah <piyush@espressif.com>
2018-10-18 14:26:12 +05:30
a8b6c4b121 feat(mbedtls): Add DHM configuration to Kconfig 2018-09-13 13:23:29 +08:00
e40b6d645a feat(heap): Remove macro "MEMLEAK_DEBUG" 2018-09-12 11:12:40 +08:00
a4369522b9 feat(heap): Remove old heap and modify old heap API 2018-09-12 11:12:30 +08:00
35ee995327 fix(components): Fix all components's compile warning and enable warning checking 2018-08-07 15:42:28 +08:00
0dc928dca5 feat(lwip): Make raw LWIP API disable 2018-07-06 20:38:33 +08:00
bf0b8c8bb6 feat(esp8266): Modify old system APIs to new ones 2018-06-25 20:37:38 +08:00
6c066fad87 fix(openssl): Fix warning in openssl 2018-05-31 15:33:42 +08:00
5340fae48b feat(mbedtls): Modify openssl according to mbedtls V2.8.0
1. Remove SSL_CTX_set_default_read_buffer_len and SSL_set_default_read_buffer_len.
2. Add SSL_CTX_load_verify_buffer to load CA certification.
2018-05-25 20:42:11 +08:00
e518650b36 feat: Don't use c_types.h in SDK 2018-05-24 20:41:29 +08:00
291c94b501 feat: Remove the use of os_printf in SDK 2018-05-24 19:52:43 +08:00
91f7080231 fix: Fix all files when change to use standard typedef 2018-05-24 19:27:41 +08:00
706989602f feat(esp8266): Don't use ICACHE_FLASH_ATTR in SDK side
Missed one file in commit 29f5577a
2018-05-24 14:08:42 +08:00
29f5577ac6 feat(esp8266): Don't use ICACHE_FLASH_ATTR in SDK side 2018-05-24 12:38:06 +08:00
d75ffa61eb feat(esp8266): Don't use ICACHE_RODATA_ATTR to let string to be in flash
rodata will be in flash by default.
2018-05-24 11:02:34 +08:00
3cf0c97966 feat(esp8266): Use printf default in header files 2018-05-24 10:34:28 +08:00
7665082ad0 feat(esp8266): Make os_printf equal to printf
Since the string used by printf are put in flash by default.
Don't need the old os_printf to define a macro to put string to flash manually.
2018-05-24 10:17:00 +08:00
f82e9be787 fix: Fixing lots of compilation warnings
- fix(esp8266):
  - Adding includes for missing symbols.
  - Removing unused variables.
  - Skip unsupported packing pragmas.
  - Add rom_functions.h for symbols that come from the ESP ROM. Add attributes on
ets_printf so GCC will check the syntax of the formatting string and types of
the arguments.
  - Add ETS_GPIO_INTR_EN(DIS)ABLE macro.
  - Use gpio_output_conf instead of gpio_output_set.

- fix(freertos):
  - Define functions that are useful.
  - Use correct printf symbols when printing.

- fix(lwip):
  - Ignore the warning in sntp.

- fix(mqtt):
  - `xTicksToWait` is unsigned, can't check for less than zero. Remove
unused variables.

- fix(newlib):
  - `_free_r()` returns `void`, not `void *`.
  - Adding includes for missing symbols.

- fix(ssl):
  - Make sure functions always return a value.

Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/188
2018-05-23 14:52:26 +08:00
96c273895b feat: Removing executable file mode for code most files
Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/186
2018-05-20 20:39:38 +08:00
21d2bb28e1 Merge branch 'feature/make_openssl_into_mbedtls' into 'master'
feat(mbedtls): Make openssl into mbedtls

See merge request sdk/ESP8266_RTOS_SDK!156
2018-05-17 20:07:47 +08:00
7e8a728427 feat(mbedtls): Make openssl into mbedtls 2018-05-17 18:21:50 +08:00
bcb1d17cd9 feat(wolfssl): Add TLS1.0 and TLS1.1 support for wolfssl 2018-05-16 16:30:15 +08:00
0a31fb1e92 feat(wolfssl): Add openssl support for wolfssl 2018-05-15 11:57:57 +08:00
1d27285767 feat(wolfssl): Redefine wolfssl file folder structure 2018-05-15 11:40:15 +08:00
e5b90bdf88 feat(mbedtls): Make mbedtls port for esp8266 2018-05-10 16:32:50 +08:00
b765af922f feat(mbedtls): Add mbedtls debug function 2018-05-10 16:14:57 +08:00
3693d42993 feat(mbedtls): Add mbedtls menuconfig 2018-05-10 12:00:42 +08:00
21c9285742 feat(ssl): Add cmake script 2018-05-04 15:36:30 +08:00
dc24f36621 fix(axtls): Don't include sntp header file
directory changed.
2018-05-04 11:58:56 +08:00
6018aa6b8c feat(wolfssl): Remove insecure cipher suites RC4 and RABBIT 2018-05-01 17:22:54 +08:00
2951ce795a Merge branch 'feature/add_mbedtls_example' into 'master'
feat(examples): Add https mbedtls example

See merge request sdk/ESP8266_RTOS_SDK!84
2018-04-26 18:09:17 +08:00
a1abb1ef32 feat(examples): Add https-wolfssl example 2018-04-26 17:50:21 +08:00
c449c39388 feat(examples): Add https mbedtls example 2018-04-25 19:05:57 +08:00
02708419d2 fix(wolfssl): Fix wolfssl verify cert chain failed error 2018-04-25 18:31:23 +08:00
895b1b7a6f feat(wolfssl): Add wolfssl commercial library V3.14.0 2018-04-23 13:56:34 +08:00
0e2445bfdb Merge branch 'feature/redefine_lwip_file_structure' into 'master'
feat(lwip): Redefine lwip folder structure

See merge request sdk/ESP8266_RTOS_SDK!76
2018-04-20 18:07:22 +08:00
a20e4c1218 feat(lwip): Redefine lwip file structure 2018-04-20 16:19:31 +08:00
d7cedfade5 feat(mbedtls): Update mbedtls from V2.2.1 to V2.8.0
Source: https://github.com/ARMmbed/mbedtls.git
2018-04-19 20:53:10 +08:00
8b3fb84266 feat(mbedtls): Redefine mbedtls file structure 2018-04-19 18:45:44 +08:00
067400cdd2 feat(ssl): Make current openssl wrap enabled when using mbedTLS 2018-04-12 18:02:39 +08:00