Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wolfcrypt/src/ecc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4971,7 +4971,7 @@ int wc_ecc_shared_secret_gen_sync(ecc_key* private_key, ecc_point* point,

#ifdef HAVE_ECC_CDH
if (k == k_lcl)
mp_clear(k);
mp_forcezero(k);
WC_FREE_VAR_EX(k_lcl, private_key->heap, DYNAMIC_TYPE_ECC_BUFFER);
#endif

Expand Down