GNU Tools for STM32 14.3.rel1 was miscompiling secp256k1.c at the project default -O2 (secp256k1.c compiles with O1 works) #1891
dingchaojie
started this conversation in
General
Replies: 2 comments 7 replies
|
Can you provide further background?
I could imagine that your code has undefined behavior, so it just happens to work |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Last year I integrated secp256k1 algorithm to my cold wallet project link, everything works somoothly with GNU Tools for STM32 13.3.rel1. Today when I recompile the project again with updated STM32 14.3.rel1, it failed on "secp256k1_check_ecdsa: invalid signature". With help of ChatGPT CodeX the issue is fixed as mentioned in the topic. Just share the issue in case other guys also have the same issue
All reactions