From ed2e230f7843241d6d257e35321b56984cc5acf2 Mon Sep 17 00:00:00 2001 From: Marco Oliverio Date: Mon, 13 Apr 2026 19:15:57 +0200 Subject: [PATCH] se050: initialize keyId to abide compilers --- wolfcrypt/src/port/nxp/se050_port.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/src/port/nxp/se050_port.c b/wolfcrypt/src/port/nxp/se050_port.c index 598e2e2586..9ec92f53df 100644 --- a/wolfcrypt/src/port/nxp/se050_port.c +++ b/wolfcrypt/src/port/nxp/se050_port.c @@ -2600,7 +2600,7 @@ int se050_ecc_create_key(struct ecc_key* key, int curve_id, int keySize) sss_key_store_t host_keystore; uint8_t derBuf[SE050_ECC_DER_MAX]; size_t derSz = sizeof(derBuf); - word32 keyId; + word32 keyId = 0; int keySizeBits; sss_cipher_type_t curveType; int keyCreated = 0; @@ -2694,7 +2694,7 @@ int se050_ecc_shared_secret(ecc_key* private_key, ecc_key* public_key, sss_object_t ref_public_key; sss_object_t deriveKey; sss_derive_key_t ctx_derive_key; - word32 keyId; + word32 keyId = 0; int keySize; int keySizeBits; sss_cipher_type_t curveType;