Topic: [SOLVED] meet 'Segmentation fault' when using wc_ecc_make_key_ex()
Hi,
When I call wc_make_key_ex() function, I always met 'Segmentation fault' issue.
The crash point is : at the end of this function, when call mp_clear(&a); process crashed.
Currently, I have no idea for this, could you please help me to resolve this issue? (wolfSSL version : 3.9.10)
wc_ecc_del_point_h(base, key->heap);
#ifndef USE_FAST_MATH
mp_clear(&a); /* This function cause crash*/
mp_clear(&prime);
mp_clear(&order);