From 3c7f5c0047cea91474f553be86085604fa923e58 Mon Sep 17 00:00:00 2001 From: Waleed Elmelegy Date: Wed, 27 Nov 2024 15:46:59 +0000 Subject: [PATCH] Change pointer init in export public-key iop struct to NULL Signed-off-by: Waleed Elmelegy --- tf-psa-crypto/include/psa/crypto_builtin_composites.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tf-psa-crypto/include/psa/crypto_builtin_composites.h b/tf-psa-crypto/include/psa/crypto_builtin_composites.h index c6bd0fdfd9..9bd58f9d9e 100644 --- a/tf-psa-crypto/include/psa/crypto_builtin_composites.h +++ b/tf-psa-crypto/include/psa/crypto_builtin_composites.h @@ -261,7 +261,7 @@ typedef struct { } mbedtls_psa_export_public_key_iop_operation_t; #if defined(MBEDTLS_ECP_C) && defined(MBEDTLS_ECP_RESTARTABLE) -#define MBEDTLS_PSA_EXPORT_PUBLIC_KEY_IOP_INIT { 0, MBEDTLS_ECP_RESTART_INIT, 0 } +#define MBEDTLS_PSA_EXPORT_PUBLIC_KEY_IOP_INIT { NULL, MBEDTLS_ECP_RESTART_INIT, 0 } #else #define MBEDTLS_PSA_EXPORT_PUBLIC_KEY_IOP_INIT { 0 } #endif