mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
feat(lwip): migrate to to PSA API interface
This commit is contained in:
@@ -3,11 +3,19 @@
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#ifndef NVS_ENCRYPTED_PARTITION_HPP_
|
||||
#define NVS_ENCRYPTED_PARTITION_HPP_
|
||||
|
||||
#include "sdkconfig.h" // For CONFIG_NVS_BDL_STACK
|
||||
#include "mbedtls/aes.h" // For mbedtls_aes_xts_context
|
||||
#include "nvs_flash.h" // For nvs_sec_cfg_t
|
||||
|
||||
/* NOTE: Using legacy mbedtls XTS API until PSA Crypto adds XTS support
|
||||
* With TF-PSA-Crypto 1.0, AES headers moved to mbedtls/private/.
|
||||
* Need MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS to access XTS functions.
|
||||
*/
|
||||
#define MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS
|
||||
#include "mbedtls/aes.h"
|
||||
#include "nvs_flash.h"
|
||||
#include "nvs_partition.hpp"
|
||||
|
||||
namespace nvs {
|
||||
|
||||
Reference in New Issue
Block a user