feat(mqtt): Add support for ECDSA signing

Added support for ECDSA signing in MQTT.
This commit is contained in:
hrushikesh.bhosale
2025-05-12 12:03:32 +05:30
parent 706e09f6e0
commit b35a69121c
4 changed files with 26 additions and 0 deletions
+2
View File
@@ -308,6 +308,8 @@ typedef struct esp_mqtt_client_config_t {
bool use_secure_element; /*!< Enable secure element, available in ESP32-ROOM-32SE, for SSL connection */
void *ds_data; /*!< Carrier of handle for digital signature parameters, digital signature peripheral is
available in some Espressif devices. It's not copied nor freed by the client, user needs to clean up.*/
bool use_ecdsa_peripheral; /*!< Enable ECDSA peripheral, available in some Espressif devices. */
uint8_t ecdsa_key_efuse_blk; /*!< ECDSA key block number from efuse, available in some Espressif devices. */
} authentication; /*!< Client authentication */
} credentials; /*!< User credentials for broker */
/**
+5
View File
@@ -69,6 +69,11 @@
#define MQTT_SUPPORTED_FEATURE_CRT_CMN_NAME
#endif
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0)
// Features supported in 5.3.0
#define MQTT_SUPPORTED_FEATURE_ECDSA_PERIPHERAL
#endif
#endif /* ESP_IDF_VERSION */
#endif // _MQTT_SUPPORTED_FEATURES_H_