63 Commits

Author SHA1 Message Date
aa965627d1 feat(esp8266): add new power management method 2019-08-30 20:58:32 +08:00
73e3a7d4d6 Merge branch 'feature/add_rc4_algorithm_in_util' into 'master'
feat(util): Add ARC4 for ESP8266 SoC

See merge request sdk/ESP8266_RTOS_SDK!1028
2019-08-07 12:11:31 +08:00
3aa6377476 Merge branch 'feature/add_md5_algorithm_in_util' into 'master'
feat(util): Add md5 algorithm to util

See merge request sdk/ESP8266_RTOS_SDK!1024
2019-08-07 12:10:00 +08:00
52b46ed00f Merge branch 'feature/update_make_and_cmake' into 'master'
make: update make and cmake from esp-idf

See merge request sdk/ESP8266_RTOS_SDK!1027
2019-08-02 20:03:01 +08:00
1dea211bf7 feat(util): Add ARC4 for ESP8266 SoC 2019-08-02 18:03:03 +08:00
6f86c07c49 feat(util): Add faster MD5 for ESP8266 SoC 2019-08-02 15:58:49 +08:00
114d2b5b86 feature(script): update compiling script for new make and cmake 2019-08-02 14:02:45 +08:00
f763ff4c37 fix(ssl): fix ssl verify mode not match 2019-07-26 16:35:11 +08:00
a06729a33b feat(ssl): remove AX-TLS
Also open source, we recommend that customers use mbedTLS.
2019-05-23 11:33:35 +08:00
cca13e0f99 feat(make): Sync code from esp-idf and modify for ESP8266
Commit ID: f6bfe13e
2019-05-16 16:22:11 +08:00
281802cf73 fix(mbedtls): Fix aes alt macro error 2019-04-24 19:00:13 +08:00
1c835ba08a feat(util): Add faster AES for ESP8266 SoC 2019-04-22 16:46:20 +08:00
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