Skip to content

ncs-v3.0.99-snapshot1: [nrf noup] partitions: crypto: Fix duplicate functions

Latest

Choose a tag to compare

@tomi-font tomi-font released this 30 May 12:38
· 1234 commits to main since this release
The Oberon PSA core provides these two functions:
psa_key_derivation_verify_key
psa_key_derivation_verify_bytes

TF-M is not aware of the Oberon PSA core and it seems
that the core that they use doesn't provide these functions
at all. So instead of the usual logic of prefixing the PSA
core functions with the mbedcrypto__ prefix it skipped these.
We cannot skip the prefixing because the Oberon PSA core
implements these and thus we will get multiple definitions
errors.

Ref: NCSDK-33148

Signed-off-by: Georgios Vasilakis <[email protected]>