From 97447677ba7c1c19cb87fa63140fe66994865ecc Mon Sep 17 00:00:00 2001 From: Jaeden Amero Date: Wed, 21 Aug 2019 15:33:48 +0100 Subject: [PATCH] crypto: Remove duplicate PSA_CRYPTO_INIT PSA_CRYPTO_INIT is defined as a service identifier. We don't need to redefine it as a secure function. There is only one function under this service identifier, so no secure function definitions are necessary to differentiate between. --- .../services/crypto/COMPONENT_PSA_SRV_IPC/crypto_platform_spe.h | 1 - 1 file changed, 1 deletion(-) diff --git a/components/TARGET_PSA/services/crypto/COMPONENT_PSA_SRV_IPC/crypto_platform_spe.h b/components/TARGET_PSA/services/crypto/COMPONENT_PSA_SRV_IPC/crypto_platform_spe.h index 71769d3da7..efca047137 100644 --- a/components/TARGET_PSA/services/crypto/COMPONENT_PSA_SRV_IPC/crypto_platform_spe.h +++ b/components/TARGET_PSA/services/crypto/COMPONENT_PSA_SRV_IPC/crypto_platform_spe.h @@ -40,7 +40,6 @@ /** \brief psa_s_function_t enum defines for all the available functions in PSA Crypto. */ typedef enum psa_sec_function_s { PSA_CRYPTO_INVALID, - PSA_CRYPTO_INIT, PSA_IMPORT_KEY, PSA_ALLOCATE_KEY, PSA_CREATE_KEY,