-
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
fe_sqr tests could be improved #1472
Comments
Well, there's nothing wrong with it, except that it adds a few milliseconds to the noverify_tests. I claim that adding The test itself could perhaps be improved. We could compare with the result of another method, e.g., |
Do you want to give it a try and work on a PR? |
Sadly my C skills are readonly 😊 |
We all started small... ;) |
2028069 doc: clarify input requirements for secp256k1_fe_mul (Sebastian Falbesoner) 11420a7 tests: improve fe_sqr test (Sebastian Falbesoner) Pull request description: ACKs for top commit: real-or-random: utACK 2028069 jonasnick: ACK 2028069 Tree-SHA512: bb01bf6ceb34f0475a60b8dcb0cec000859a0c20f1009426bd8cab609f1941f44f84802f1565a719f7d2a55466076fb1591a353b1b75e6c0ceac44806d908176
This has been resolved by #1490. |
secp256k1/src/tests.c
Lines 3289 to 3303 in efe85c7
This method doesn't test anything and after looking through commits it was added in 59447da and got removed in the next commit 21f81a8. I'm not sure what the "problem" mentioned in the first commit is but if it is checking it using the
SECP256K1_FE_VERIFY
method, it is pointless to callrun_sqr
without this build configuration.The text was updated successfully, but these errors were encountered: