diff --git a/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/key_management.c b/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/key_management.c index 3a79ed795e65..5d058ba4d89c 100644 --- a/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/key_management.c +++ b/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/key_management.c @@ -31,7 +31,7 @@ extern const uint8_t cracen_N3072[384]; -extern nrf_security_mutex_t cracen_mutex_symmetric; +extern mbedtls_threading_mutex_t cracen_mutex_symmetric; #define DEFAULT_KEY_SIZE(bits) (bits), PSA_BITS_TO_BYTES(bits), (1 + 2 * PSA_BITS_TO_BYTES(bits)) static struct { diff --git a/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/kmu.c b/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/kmu.c index b3f5fbba43bf..a98d60e4f8c4 100644 --- a/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/kmu.c +++ b/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/kmu.c @@ -27,7 +27,7 @@ */ #define PROVISIONING_SLOT 250 -extern nrf_security_mutex_t cracen_mutex_symmetric; +extern mbedtls_threading_mutex_t cracen_mutex_symmetric; /* The section .nrf_kmu_reserved_push_area is placed at the top RAM address * by the linker scripts. We do that for both the secure and non-secure builds.