mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-19 23:45:28 +02:00
refactor(esp_srp): Expose esp_srp.h and add API docs
- Also added missing `protocomm_security2` reference in `protocomm.rst`
This commit is contained in:
@@ -40,10 +40,10 @@ Protocomm 为以下各种传输提供框架:
|
||||
|
||||
* 支持 ``protocomm_security0``,该版本无安全功能::ref:`CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0`,该选项默认启用。
|
||||
* 支持 ``protocomm_security1``,使用 Curve25519 密钥交换和 AES-CTR 加密/解密::ref:`CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1`,该选项默认启用。
|
||||
* 支持 ``protocomm_security2``,使用基于 SRP6a 的密钥交换和 AES-GCM 加密/解密::ref:`CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2`。
|
||||
* 支持 ``protocomm_security2``,使用基于 SRP6a 的密钥交换和 AES-GCM 加密/解密::ref:`CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2`。
|
||||
|
||||
.. note::
|
||||
|
||||
.. note::
|
||||
|
||||
启用多个安全版本后可以动态控制安全版本,但也会增加固件大小。
|
||||
|
||||
.. only:: SOC_WIFI_SUPPORTED
|
||||
@@ -241,7 +241,7 @@ Protocomm 为以下各种传输提供框架:
|
||||
|
||||
使用 Security 0 的低功耗蓝牙传输方案示例
|
||||
-------------------------------------------
|
||||
|
||||
|
||||
示例用法请参阅 :component_file:`wifi_provisioning/src/scheme_ble.c`。
|
||||
|
||||
.. highlight:: c
|
||||
@@ -299,5 +299,7 @@ API 参考
|
||||
.. include-build-file:: inc/protocomm_security.inc
|
||||
.. include-build-file:: inc/protocomm_security0.inc
|
||||
.. include-build-file:: inc/protocomm_security1.inc
|
||||
.. include-build-file:: inc/protocomm_security2.inc
|
||||
.. include-build-file:: inc/esp_srp.inc
|
||||
.. include-build-file:: inc/protocomm_httpd.inc
|
||||
.. include-build-file:: inc/protocomm_ble.inc
|
||||
|
||||
Reference in New Issue
Block a user