Skip to content

Commit

Permalink
nrf_security: Don't use the same ID as upstream
Browse files Browse the repository at this point in the history
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 <sebastian.boe@nordicsemi.no>
  • Loading branch information
SebastianBoe authored and rlubos committed Jul 5, 2023
1 parent b5635a6 commit ba802ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/nrf_security/src/psa_crypto_driver_wrappers.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ba802ca

Please sign in to comment.