Commit Graph

13 Commits

Author SHA1 Message Date
yuanjm
2a58642812 fix(mbedtls): Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL 2021-04-23 10:08:19 +08:00
Dong Heng
f54641d7f3 Merge branch 'bugfix/fix_dynamic_mbedtls_return_0_when_handshake_fail_v3.3' into 'release/v3.3'
fix(mbedtls): Fix dynamic buffer mbedtls handshake steps process return 0 when handshake fail (backport v3.3)

See merge request sdk/ESP8266_RTOS_SDK!1475
2020-11-18 11:02:06 +08:00
Dong Heng
d2cfc311bf fix(mbedtls): Fix mbedtls dynamic resource leaks memory 2020-07-27 17:16:20 +08:00
Dong Heng
7d6976ef10 fix(mbedtls): Fix dynamic buffer mbedtls handshake steps process return 0 when handshake fail 2020-07-08 17:43:30 +08:00
Dong Heng
cfebde2081 feat(mbedtls): Add dynamic buffer and local resource managment to decrease SSL heap cost 2020-05-27 11:00:16 +08:00
Dong Heng
7d3d1759f2 feat(mbedtls): Update mbedTLS version to v2.16.5 2020-05-27 10:15:51 +08:00
Dong Heng
d1cfba3e09 Merge branch 'bugfix/fix_mbedtls_option_dependence_v3.3' into 'release/v3.3'
mbedtls: fix option dependence of "MBEDTLS_SERVER_SSL_SESSION_TICKETS" (backport v3.3)

See merge request sdk/ESP8266_RTOS_SDK!1252
2019-12-30 15:13:35 +08:00
Dong Heng
14f85a6c4e fix(mbedtls): fix option dependence of "MBEDTLS_SERVER_SSL_SESSION_TICKETS"
MBEDTLS_SERVER_SSL_SESSION_TICKETS
    ->  MBEDTLS_CIPHER_MODE_AEAD
        -> MBEDTLS_GCM_C || MBEDTLS_CCM_C || MBEDTLS_CHACHAPOLY_C
2019-12-27 14:21:47 +08:00
Dong Heng
ffaaf07089 feat(mbedtls): mbedtls using SHA/AES of util component instead of its raw algorithm 2019-12-26 10:36:55 +08:00
Dong Heng
b29087fd5c feat(util): refactor SHA algorithm of util components 2019-12-17 15:27:26 +08:00
dongheng
1f8192d9f9 feat(exmaples): remove wolfSSL example
The wolfSSL example will be supplied independently.
2019-10-10 15:43:29 +08:00
dongheng
5f2b5eafcf feat(mbedtls): modify code to support ESP8266
It is that maybe less modification working on the components is better, so I just modified the platform
code of AES, SHA and so on.

ESP8266 has no real hardware AES, SHA or bignum peripheral, but some method can speed up the process of part
of upper algorithm, so I also added the platform code of AES, SHA, bignum, ARC, MD5.

ESP8266 has no platform of bignum, so users should not enable the bignum hardware at "menuconfig".
2019-10-10 13:39:08 +08:00
dongheng
35d8262b25 feat(mbedtls): bring mbedtls and openssl based on mbedtls from esp-idf
Commit ID: 97959e77.

Using submodule instead of source code.

It is brought from esp-idf, and some origin dependent code or configuration of hardware have not been removed.
But it maybe not affect using at the ESP8266 platform.
2019-10-10 11:09:08 +08:00