You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/api-reference/protocols/esp_http_client.rst
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,20 +44,22 @@ A secure element (ATECC608) can be also used for the underlying TLS connection i
44
44
.use_secure_element = true,
45
45
};
46
46
47
-
Use ECDSA Peripheral for TLS
48
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47
+
.. only:: SOC_ECDSA_SUPPORTED
49
48
50
-
The ECDSA peripheral can be used for the underlying TLS connection in the HTTP client connection. Please refer to the **ECDSA Peripheral with ESP-TLS** section in the :doc:`ESP-TLS documentation </api-reference/protocols/esp_tls>` for more details. The HTTP client can be configured to use ECDSA peripheral as follows:
49
+
Use ECDSA Peripheral for TLS
50
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
51
51
52
-
.. code-block:: c
52
+
The ECDSA peripheral can be used for the underlying TLS connection in the HTTP client connection. Please refer to the **ECDSA Peripheral with ESP-TLS** section in the :doc:`ESP-TLS documentation </api-reference/protocols/esp_tls>` for more details. The HTTP client can be configured to use ECDSA peripheral as follows:
53
53
54
-
esp_http_client_config_t cfg = {
55
-
/* other configurations options */
56
-
.use_ecdsa_peripheral = true,
57
-
.ecdsa_key_efuse_blk = 4, // Low eFuse block for ECDSA key
58
-
.ecdsa_key_efuse_blk_high = 5, // High eFuse block for ECDSA key (SECP384R1 only)
59
-
.ecdsa_curve = ESP_TLS_ECDSA_CURVE_SECP384R1, // set this to ESP_TLS_ECDSA_CURVE_SECP256R1 for SECP256R1 curve
60
-
};
54
+
.. code-block:: c
55
+
56
+
esp_http_client_config_t cfg = {
57
+
/* other configurations options */
58
+
.use_ecdsa_peripheral = true,
59
+
.ecdsa_key_efuse_blk = 4, // Low eFuse block for ECDSA key
60
+
.ecdsa_key_efuse_blk_high = 5, // High eFuse block for ECDSA key (SECP384R1 only)
61
+
.ecdsa_curve = ESP_TLS_ECDSA_CURVE_SECP384R1, // set this to ESP_TLS_ECDSA_CURVE_SECP256R1 for SECP256R1 curve
0 commit comments