25 Commits

Author SHA1 Message Date
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
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
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
a4369522b9 feat(heap): Remove old heap and modify old heap API 2018-09-12 11:12:30 +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
91f7080231 fix: Fix all files when change to use standard typedef 2018-05-24 19:27:41 +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
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
7e8a728427 feat(mbedtls): Make openssl into mbedtls 2018-05-17 18:21:50 +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
c449c39388 feat(examples): Add https mbedtls example 2018-04-25 19:05:57 +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
7782d6adf2 feat(ssl): Restructure ssl folder
Put mbedtls, axtls, openssl to ssl, also add kconfig to choose ssl library.
Default use mbedtls.
2018-04-09 20:09:27 +08:00