From 51f74bcda3a72fe921adef91b30f1ae90d2e18d1 Mon Sep 17 00:00:00 2001 From: Chun-Chieh Li Date: Thu, 1 Jul 2021 17:32:09 +0800 Subject: [PATCH] PSA: Fix compile error with NV seed This compile error can reproduce when both PSA V7M and MBEDTLS_ENTROPY_NV_SEED are both enabled. --- .../test_abstraction_layers/pal/pal_mbed_os_intf.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_MBED_PSA_SRV/test_abstraction_layers/pal/pal_mbed_os_intf.cpp b/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_MBED_PSA_SRV/test_abstraction_layers/pal/pal_mbed_os_intf.cpp index be1c70e255e..e5d02563dcb 100644 --- a/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_MBED_PSA_SRV/test_abstraction_layers/pal/pal_mbed_os_intf.cpp +++ b/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_MBED_PSA_SRV/test_abstraction_layers/pal/pal_mbed_os_intf.cpp @@ -31,6 +31,8 @@ #include "lifecycle.h" +#include "mbedtls/entropy.h" + #define TEST_STACK_SIZE 8192 #define TEST_KEY_ID_VALUE 17