Skip to content

Commit

Permalink
crypto: Rename to nrf_security_mutex_t to mbedtls_threading_mutex_t
Browse files Browse the repository at this point in the history
-Fixes issues on nRF54L15 devices (uses CRACEN)

Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>
  • Loading branch information
frkv committed Sep 27, 2024
1 parent 98bbbff commit 2425f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion subsys/nrf_security/src/drivers/cracen/cracenpsa/src/kmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2425f3f

Please sign in to comment.