Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently the `run_sqr` test doesn't do anything with the result of the `fe_sqr` call. Improve that by checking that the equation `(x+y)*(x-y) = x^2 - y^2` holds for some random values y, as suggested in issue bitcoin-core#1471 by real-or-random. The existing loop for generating the x values is kept as-is.
- Loading branch information