mbed-tls 错误代码 -0x3B00 是什么意思?
如果你的微控制器(如 ESP32)上看到类似以下错误消息:
output.txt
E (41544) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x3B00这表示 MBEDTLS_ERR_PK_INVALID_PUBKEY。
截至 esp-idf v4.4.3 中使用的 mbed TLS 版本,仅支持 RSA 和(某些类型的)椭圆曲线密钥。**在我的测试中,X25519/EC256 密钥不起作用,有迹象表明 P-384 密钥也不起作用。**通常,使用 RSA 密钥是使用 mbed-tls 时的安全选择。
Check out similar posts by category:
Arduino, Embedded, ESP8266/ESP32, Mbed
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow