mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(esp-tls): address MR review comments for SE PSA driver
- esp_tls_mbedtls: require cert when PSA-backed server/client key is set - esp_tls_mbedtls: drop redundant pk_init/x509_crt_init (calloc handles it) - psa SE driver: copy callbacks/opaque_key by value (no lifetime coupling) - psa SE driver: replace atomic CAS with simple null check on register - psa SE driver: use sig_len from sign callback with bounds validation - psa SE driver: validate pubkey_len returned by export_pubkey callback - psa SE driver: check hash sub-alg in RSA PKCS1V15 branch of validate_request - psa SE driver: align secure_element_register_callbacks doc with value-copy impl - esp_https_server: initialize server_key in HTTPD_SSL_CONFIG_DEFAULT - mbedtls: move SECURE_ELEMENT_DRIVER_ENABLED to esp_config.h for parity with ESP_ECDSA_DRIVER_ENABLED; drop target_compile_definitions - docs: fix esp_tls_cfg_t -> esp_http_client_config_t cross-reference - docs: check psa_import_key() status in ESP-TLS PSA example - hints/error_output: point at CONFIG_MBEDTLS_SECURE_ELEMENT_DRIVER_ENABLED
This commit is contained in:
@@ -3,4 +3,4 @@
|
||||
hint: "The struct 'esp_tls_t' has now been made private - its elements can be only be accessed/modified through respective getter/setter functions. Please refer to the migration guide for more information."
|
||||
-
|
||||
re: "fatal error: .*atca_mbedtls_wrap\\.h: No such file or directory"
|
||||
hint: "To use CONFIG_ESP_TLS_USE_SECURE_ELEMENT option, please install `esp-cryptoauthlib` using 'idf.py add-dependency espressif/esp-cryptoauthlib'"
|
||||
hint: "To use the ATECC608A secure element, enable CONFIG_MBEDTLS_SECURE_ELEMENT_DRIVER_ENABLED and install `esp-cryptoauthlib` using 'idf.py add-dependency espressif/esp-cryptoauthlib'"
|
||||
|
||||
Reference in New Issue
Block a user