Fix ECIES clang-tidy dead-store and whitelist WOLFSSL_ECIES_STATIC_GCM_NONCE

This commit is contained in:
night1rider
2026-07-24 10:19:40 -06:00
parent 5460180f9b
commit 97ab34c41a
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -831,6 +831,7 @@ WOLFSSL_ECC_NO_SMALL_STACK
WOLFSSL_ECC_SIGALG_PARAMS_NULL_ALLOWED
WOLFSSL_ECDSA_MATCH_HASH
WOLFSSL_ECDSA_SET_K_ONE_LOOP
WOLFSSL_ECIES_STATIC_GCM_NONCE
WOLFSSL_EC_POINT_CMP_JACOBIAN
WOLFSSL_ED448_NO_LARGE_CODE
WOLFSSL_EDDSA_CHECK_PRIV_ON_SIGN
+2 -2
View File
@@ -15363,7 +15363,7 @@ int wc_ecc_encrypt_ex(ecc_key* privKey, ecc_key* pubKey, const byte* msg,
ret = ecc_ctx_encrypt_advance(ctx);
return ret;
}
ret = 0; /* fall-through to software */
/* fall-through to software (ret is reassigned below) */
}
#endif
@@ -15860,7 +15860,7 @@ int wc_ecc_decrypt(ecc_key* privKey, ecc_key* pubKey, const byte* msg,
ret = ecc_ctx_decrypt_advance(ctx);
return ret;
}
ret = 0; /* fall-through to software */
/* fall-through to software (ret is reassigned below) */
}
#endif