From 98efb44ea86b19df15bf49848f6ce2ee6230542c Mon Sep 17 00:00:00 2001 From: Michael Schwarcz Date: Wed, 27 Feb 2019 19:30:32 +0200 Subject: [PATCH] Remove another psa_identity --- .../services/crypto/COMPONENT_SPE/psa_crypto_partition.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c b/components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c index 4635676c80..1d9b577ccc 100644 --- a/components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c +++ b/components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c @@ -1329,7 +1329,7 @@ static void psa_key_management_operation(void) case PSA_CREATE_KEY: { psa_key_id_t id; - id.owner = psa_identity(msg.handle); + id.owner = msg.client_id; bytes_read = psa_read(msg.handle, 1, &(id.key_id), msg.in_size[1]); if (bytes_read != msg.in_size[1]) { @@ -1350,7 +1350,7 @@ static void psa_key_management_operation(void) case PSA_OPEN_KEY: { psa_key_id_t id; - id.owner = psa_identity(msg.handle); + id.owner = msg.client_id; bytes_read = psa_read(msg.handle, 1, &(id.key_id), msg.in_size[1]); if (bytes_read != msg.in_size[1]) {