File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
targets/TARGET_NUVOTON/TARGET_M460/crypto Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 27
27
#include " nu_timer.h"
28
28
#include " crypto-misc.h"
29
29
#include " platform/SingletonPtr.h"
30
- #include " platform/PlatformMutex .h"
30
+ #include " rtos/Mutex .h"
31
31
#include " hal/trng_api.h"
32
32
33
33
#if defined(MBEDTLS_CONFIG_HW_SUPPORT)
43
43
*/
44
44
45
45
/* Mutex for crypto PRNG ACC management */
46
- static SingletonPtr<PlatformMutex > crypto_prng_mutex;
46
+ static SingletonPtr<rtos::Mutex > crypto_prng_mutex;
47
47
48
48
/* Mutex for crypto AES ACC management */
49
- static SingletonPtr<PlatformMutex > crypto_aes_mutex;
49
+ static SingletonPtr<rtos::Mutex > crypto_aes_mutex;
50
50
51
51
/* Mutex for crypto SHA ACC management */
52
- static SingletonPtr<PlatformMutex > crypto_sha_mutex;
52
+ static SingletonPtr<rtos::Mutex > crypto_sha_mutex;
53
53
54
54
/* Mutex for crypto ECC ACC management */
55
- static SingletonPtr<PlatformMutex > crypto_ecc_mutex;
55
+ static SingletonPtr<rtos::Mutex > crypto_ecc_mutex;
56
56
57
57
/* Mutex for crypto RSA ACC management */
58
- static SingletonPtr<PlatformMutex > crypto_rsa_mutex;
58
+ static SingletonPtr<rtos::Mutex > crypto_rsa_mutex;
59
59
60
60
/* Crypto init counter. Crypto keeps active as it is non-zero. */
61
61
static uint16_t crypto_init_counter = 0U ;
You can’t perform that action at this time.
0 commit comments