mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
docs(esp_tee): Update the TEE attestation documentation for the PSA interface
This commit is contained in:
@@ -21,5 +21,5 @@ INPUT += \
|
|||||||
$(PROJECT_PATH)/components/esp_phy/include/esp_phy_cert_test.h \
|
$(PROJECT_PATH)/components/esp_phy/include/esp_phy_cert_test.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/include/esp_tee.h \
|
$(PROJECT_PATH)/components/esp_tee/include/esp_tee.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_sec_storage/include/esp_tee_sec_storage.h \
|
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_sec_storage/include/esp_tee_sec_storage.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_attestation/esp_tee_attestation.h \
|
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_ota_ops/include/esp_tee_ota_ops.h \
|
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_ota_ops/include/esp_tee_ota_ops.h \
|
||||||
|
$(PROJECT_PATH)/components/mbedtls/port/include/psa/initial_attestation.h \
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ INPUT += \
|
|||||||
$(PROJECT_PATH)/components/esp_wifi/include/esp_wifi_he.h \
|
$(PROJECT_PATH)/components/esp_wifi/include/esp_wifi_he.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/include/esp_tee.h \
|
$(PROJECT_PATH)/components/esp_tee/include/esp_tee.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_sec_storage/include/esp_tee_sec_storage.h \
|
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_sec_storage/include/esp_tee_sec_storage.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_attestation/esp_tee_attestation.h \
|
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_ota_ops/include/esp_tee_ota_ops.h \
|
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_ota_ops/include/esp_tee_ota_ops.h \
|
||||||
|
$(PROJECT_PATH)/components/mbedtls/port/include/psa/initial_attestation.h \
|
||||||
$(PROJECT_PATH)/components/ulp/lp_core/shared/include/ulp_lp_core_lp_uart_shared.h \
|
$(PROJECT_PATH)/components/ulp/lp_core/shared/include/ulp_lp_core_lp_uart_shared.h \
|
||||||
|
|||||||
@@ -7,5 +7,5 @@ INPUT += \
|
|||||||
$(PROJECT_PATH)/components/esp_phy/include/esp_phy_cert_test.h \
|
$(PROJECT_PATH)/components/esp_phy/include/esp_phy_cert_test.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/include/esp_tee.h \
|
$(PROJECT_PATH)/components/esp_tee/include/esp_tee.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_sec_storage/include/esp_tee_sec_storage.h \
|
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_sec_storage/include/esp_tee_sec_storage.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_attestation/esp_tee_attestation.h \
|
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_ota_ops/include/esp_tee_ota_ops.h \
|
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_ota_ops/include/esp_tee_ota_ops.h \
|
||||||
|
$(PROJECT_PATH)/components/mbedtls/port/include/psa/initial_attestation.h \
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ INPUT += \
|
|||||||
$(PROJECT_PATH)/components/esp_phy/include/esp_phy_cert_test.h \
|
$(PROJECT_PATH)/components/esp_phy/include/esp_phy_cert_test.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/include/esp_tee.h \
|
$(PROJECT_PATH)/components/esp_tee/include/esp_tee.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_sec_storage/include/esp_tee_sec_storage.h \
|
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_sec_storage/include/esp_tee_sec_storage.h \
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_attestation/esp_tee_attestation.h \
|
|
||||||
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_ota_ops/include/esp_tee_ota_ops.h \
|
$(PROJECT_PATH)/components/esp_tee/subproject/components/tee_ota_ops/include/esp_tee_ota_ops.h \
|
||||||
|
$(PROJECT_PATH)/components/mbedtls/port/include/psa/initial_attestation.h \
|
||||||
|
|||||||
@@ -101,8 +101,8 @@ EAT: Claim Table
|
|||||||
* - **Claim**
|
* - **Claim**
|
||||||
- **Description**
|
- **Description**
|
||||||
- **Comments**
|
- **Comments**
|
||||||
* - Nonce
|
* - Authentication Challenge
|
||||||
- For protection from Reply Attack. If attestation is initiated by the device, it provides the nonce as part of the attestation request to the Relying Party.
|
- Challenge data provided by the caller to protect against replay attacks. This is typically a cryptographic nonce (random value) or a hash of data that includes a nonce. When using a data hash, the caller must ensure replay protection by incorporating a nonce into the hashed data.
|
||||||
-
|
-
|
||||||
* - Client ID
|
* - Client ID
|
||||||
- Relying Party identification
|
- Relying Party identification
|
||||||
@@ -176,7 +176,7 @@ Sample EAT in JSON format
|
|||||||
"key_id": "tee_att_key0"
|
"key_id": "tee_att_key0"
|
||||||
},
|
},
|
||||||
"eat": {
|
"eat": {
|
||||||
"nonce": -1582119980,
|
"auth_challenge":"dcb9b53143ad6b081dad1a05c7ebda4e314d388762215799cf24ed52e9387678"
|
||||||
"client_id": 262974944,
|
"client_id": 262974944,
|
||||||
"device_ver": 1,
|
"device_ver": 1,
|
||||||
"device_id": "e8cddb2a7f9a5a7c61735d6dda26e4bd153c6d772a9be6f26bd321dfe25e0ac8",
|
"device_id": "e8cddb2a7f9a5a7c61735d6dda26e4bd153c6d772a9be6f26bd321dfe25e0ac8",
|
||||||
@@ -253,8 +253,4 @@ The :example:`tee_attestation <security/tee/tee_attestation>` example demonstrat
|
|||||||
API Reference
|
API Reference
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
.. note::
|
.. include-build-file:: inc/initial_attestation.inc
|
||||||
|
|
||||||
To use the TEE Attestation APIs in your project, ensure that the :component:`tee_attestation <esp_tee/subproject/components/tee_attestation>` component is listed as a local dependency in the component manager manifest file `idf_component.yml <https://docs.espressif.com/projects/idf-component-manager/en/latest/reference/manifest_file.html>`_. Refer to the :example:`tee_attestation <security/tee/tee_attestation>` example for guidance.
|
|
||||||
|
|
||||||
.. include-build-file:: inc/esp_tee_attestation.inc
|
|
||||||
|
|||||||
Reference in New Issue
Block a user