Merge branch 'fix/nvs_encr_use_hardware_aes_v6.0' into 'release/v6.0'

Use h/w accelerated AES-ECB for XTS-AES operations (v6.0)

See merge request espressif/esp-idf!45823
This commit is contained in:
Mahavir Jain
2026-02-13 07:43:27 +05:30
8 changed files with 59 additions and 37 deletions
@@ -63,6 +63,7 @@ endforeach()
target_link_libraries(${COMPONENT_LIB} INTERFACE ${mbedtls_targets})
target_link_libraries(tfpsacrypto PUBLIC idf::esp_hal_security)
target_link_libraries(tfpsacrypto PRIVATE idf::esp_security)
target_include_directories(tfpsacrypto PRIVATE ${crypto_port_inc_dirs})
+1 -3
View File
@@ -35,10 +35,8 @@
#include <stdio.h>
#include <string.h>
#include <sys/lock.h>
#define MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS
#include "aes/esp_aes.h"
#include "psa/crypto.h"
#include "psa/crypto_values.h"
void esp_aes_xts_init( esp_aes_xts_context *ctx )
{