Jeffrey Walton noloader@gmail.com writes:
What is the test name and how do I run it?
At the top of the nettle build tree, to run just that test:
LD_LIBRARY_PATH=.lib ./testsuite/rsa-sec-decrypt-test
To run it (or some other set of tests under valgrind), one can also use
make -C testsuite/ check EMULATOR='$(VALGRIND)' TS_ALL=rsa-sec-decrypt-test
Given I've built the library and the test suite, what are the next steps?
If you don't find any bug with the aid of valgrind, next step would be to run the test program under gdb (it looks like you already built gmp with debug info enabled), set a break point on __gmpn_sec_powm (name-mangled symbol name for mpn_pown_sec), and try to find out where the bad value for windowsize comes from.
BTW, you did run gmp's make check, I hope?
Regards, /Niels