Page 1 of 1

[SOLVED] nghttp2 and mbedtls?

Posted: Fri Jun 08, 2018 11:56 pm
by chrismerck
I'm looking at nghttp2 in esp-idf

It seems nghttp2 uses openssl, while aws-iot uses mbedtls.

Any reason why nghttp2 cannot use mbedtls?

I'm starting to look into it now, but perhaps someone who did the nghttp2 port for esp-idf could make a quick comment?

It would be nice to have only one TLS library in the firmware image so firmware updates are fast and less code to Q/A :).

Re: nghttp2 and mbedtls?

Posted: Sat Jun 09, 2018 2:40 am
by chegewara
In this project MrBuddyCasino is using mbedTLS:
https://github.com/MrBuddyCasino/ESP32_Alexa

Re: nghttp2 and mbedtls?

Posted: Sat Jun 09, 2018 4:36 am
by WiFive

Re: nghttp2 and mbedtls?

Posted: Mon Jun 11, 2018 2:31 pm
by chrismerck
WiFive wrote:OpenSSL-APIs.rst
Ah, thank you! There was so much to the abstraction layer that I didn't realize that mbedtls was living beneath OpenSSL!

Totally answers my question. Thanks WiFive!