From ba802ca038c161156593124eeb41c8e190044c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B8e?= Date: Tue, 4 Jul 2023 14:08:32 +0200 Subject: [PATCH] nrf_security: Don't use the same ID as upstream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don't use ID 5 as it is used by vanilla TF-M for the driver TFM_BUILTIN_KEY_LOADER and it is easier to use upstreams IDs as-is than to patch them. Use a large random ID as it is unlikely to conflict with anything. Signed-off-by: Sebastian Bøe --- subsys/nrf_security/src/psa_crypto_driver_wrappers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/nrf_security/src/psa_crypto_driver_wrappers.c b/subsys/nrf_security/src/psa_crypto_driver_wrappers.c index 510cdcb89aff..acf85775dbb7 100644 --- a/subsys/nrf_security/src/psa_crypto_driver_wrappers.c +++ b/subsys/nrf_security/src/psa_crypto_driver_wrappers.c @@ -119,7 +119,7 @@ #endif /* PSA_CRYPTO_DRIVER_CC3XX */ #if defined(PSA_CRYPTO_DRIVER_OBERON) -#define PSA_CRYPTO_OBERON_DRIVER_ID (5) +#define PSA_CRYPTO_OBERON_DRIVER_ID (28) #endif /* PSA_CRYPTO_DRIVER_OBERON */ #if defined(PSA_CRYPTO_DRIVER_TFM_BUILTIN_KEY_LOADER)