Remove key owner encoding from crypto client
The key owner encoding feature of MbedTLS is only used in the crypto
backend, remove it from the crypto client headers to avoid confusion.
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: I5fad4d12964b61571b1ad7895f4f12aeb7fa201f
diff --git a/components/service/crypto/include/psa/crypto.h b/components/service/crypto/include/psa/crypto.h
index e60d975..b6e3aba 100644
--- a/components/service/crypto/include/psa/crypto.h
+++ b/components/service/crypto/include/psa/crypto.h
@@ -121,25 +121,6 @@
static void psa_set_key_id( psa_key_attributes_t *attributes,
psa_key_id_t key );
-#ifdef MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER
-/** Set the owner identifier of a key.
- *
- * When key identifiers encode key owner identifiers, psa_set_key_id() does
- * not allow to define in key attributes the owner of volatile keys as
- * psa_set_key_id() enforces the key to be persistent.
- *
- * This function allows to set in key attributes the owner identifier of a
- * key. It is intended to be used for volatile keys. For persistent keys,
- * it is recommended to use the PSA Cryptography API psa_set_key_id() to define
- * the owner of a key.
- *
- * \param[out] attributes The attribute structure to write to.
- * \param owner_id The key owner identifier.
- */
-static void mbedtls_set_key_owner_id( psa_key_attributes_t *attributes,
- mbedtls_key_owner_id_t owner_id );
-#endif
-
/** Set the location of a persistent key.
*
* To make a key persistent, you must give it a persistent key identifier