crystalidea / cpp-httplib-mbedtls

Use cpp-httplib with mbedtls
MIT License
12 stars 3 forks source link

FIX httplib::SSLServer + mbedTLS #1

Open debugmenot opened 2 months ago

debugmenot commented 2 months ago

Hi. Thanks for your work :)

HTTPServer is working with #define MBEDTLS_SSL_PROTO_TLS1_3 + psa_crypto_init();, but it breaks the client :(.

Client and server are working when MBEDTLS_SSL_PROTO_TLS1_3 is disabled and #define MBEDTLS_USE_PSA_CRYPTO + psa_crypto_init()

Hope it'll help with further development

debugmenot commented 2 months ago

Seems that something is not properly initialized in internal mbedTLS crypto regarding the ECDSA but works nicely with PSA