diff --git a/targets/TARGET_NUVOTON/TARGET_M460/crypto/crypto-misc.cpp b/targets/TARGET_NUVOTON/TARGET_M460/crypto/crypto-misc.cpp index 8d044bb904..cf06ad0ce4 100644 --- a/targets/TARGET_NUVOTON/TARGET_M460/crypto/crypto-misc.cpp +++ b/targets/TARGET_NUVOTON/TARGET_M460/crypto/crypto-misc.cpp @@ -27,7 +27,7 @@ #include "nu_timer.h" #include "crypto-misc.h" #include "platform/SingletonPtr.h" -#include "platform/PlatformMutex.h" +#include "rtos/Mutex.h" #include "hal/trng_api.h" #if defined(MBEDTLS_CONFIG_HW_SUPPORT) @@ -43,19 +43,19 @@ */ /* Mutex for crypto PRNG ACC management */ -static SingletonPtr crypto_prng_mutex; +static SingletonPtr crypto_prng_mutex; /* Mutex for crypto AES ACC management */ -static SingletonPtr crypto_aes_mutex; +static SingletonPtr crypto_aes_mutex; /* Mutex for crypto SHA ACC management */ -static SingletonPtr crypto_sha_mutex; +static SingletonPtr crypto_sha_mutex; /* Mutex for crypto ECC ACC management */ -static SingletonPtr crypto_ecc_mutex; +static SingletonPtr crypto_ecc_mutex; /* Mutex for crypto RSA ACC management */ -static SingletonPtr crypto_rsa_mutex; +static SingletonPtr crypto_rsa_mutex; /* Crypto init counter. Crypto keeps active as it is non-zero. */ static uint16_t crypto_init_counter = 0U;