-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arm/ios crash #52
Comments
Can you try building with --with-bignum=openssl? Perhaps there is a bug in the GMP library, or an incompatibility with the version. |
Thanks for the suggestion. I'll give that a try next week. |
Did you call secp256k1_start()? |
Probably the issue. Can close for now -- hope to have plenty of testing and questions in the future ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running on arm/ios, secp256k1_start() fails with assertion:
#4 0x0002878a in secp256k1_num_mod_inverse at /path/secp256k1/impl/num_gmp.h:134
#5 0x00028516 in secp256k1_fe_inv_var at /path/secp256k1/impl/field.h:138
#6 0x0002691e in secp256k1_ge_set_gej at /path/secp256k1/impl/group.h:58
#7 0x00025f3e in secp256k1_ecmult_start at /path/secp256k1/impl/ecmult.h:89
#8 0x00025db0 in secp256k1_start at /path/secp256k1/secp256k1.c:22
Assertion fails in secp256k1_num_mod_inverse():
mp_size_t sn = NUM_LIMBS+1;
mp_size_t gn = mpn_gcdext(g, r->data, &sn, u, m->limbs, v, m->limbs);
assert(gn == 1); <==
Compiled with std=gnu99, USE_NUM_GMP, USE_FIELD_GMP, and USE_FIELD_INV_NUM.
What's the significance of USE_FIELD_INV_NUM and Field settings? Any thoughts on compile settings for arm?
The text was updated successfully, but these errors were encountered: