From 2425f3f83222e074565e4a42958581b315267c6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Audun=20Kvamtr=C3=B8?= Date: Fri, 27 Sep 2024 13:37:56 +0200 Subject: [PATCH] crypto: Rename to nrf_security_mutex_t to mbedtls_threading_mutex_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -Fixes issues on nRF54L15 devices (uses CRACEN) Signed-off-by: Frank Audun Kvamtrø --- .../src/drivers/cracen/cracenpsa/src/key_management.c | 2 +- subsys/nrf_security/src/drivers/cracen/cracenpsa/src/kmu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.