Allow multi-owner mbedtls to coexist with standard psa api
To support namespaced key ids, mbedtls needs to be built with
the MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER configuration
option defined. The result of this is that a non-standard
instance of the psa crypto api is created using mbedtls
specific types at the api. To allow the configured mbedtls
to coexist in a build with a standard instance of the api,
this change adds the option to 'namespace' crypto api
function names by adding a prefix using the C pre-processor
for a crypto backend that uses mbedtls.
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: Ieb2e734f88679b1cbb450818fc3007c4ef336930
1 file changed