From bab6116f3160675d1918d6894a364d7c03552f9e Mon Sep 17 00:00:00 2001 From: Netanel Gonen Date: Mon, 26 Nov 2018 13:13:17 +0200 Subject: [PATCH] compilation fix --- .../crypto/COMPONENT_SPE/psa_crypto_partition.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 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 a45ffbdfd8..9e47f67549 100755 --- a/components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c +++ b/components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c @@ -1384,13 +1384,10 @@ void psa_crypto_generator_operations( void ) SPM_PANIC("SPM read length mismatch"); } - status = check_spm_key_acl(msg.handle, psa_crypto_ipc.key); - if (status == PSA_SUCCESS) { - status = psa_key_agreement( msg.rhandle, psa_crypto_ipc.key, - private_key, - msg.in_size[1],//private_key length - psa_crypto_ipc.alg ); - } + status = psa_key_agreement( msg.rhandle, psa_crypto_ipc.key, + private_key, + msg.in_size[1],//private_key length + psa_crypto_ipc.alg ); break; }