]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Add direct tests of division/modulus to testbn.
authorSimon Tatham <anakin@pobox.com>
Sun, 13 Dec 2015 14:46:43 +0000 (14:46 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 13 Dec 2015 14:46:43 +0000 (14:46 +0000)
commit984792e9f4523eec1505e83ab17b8f377f7db43d
treee6b37105c7cdfe6a6913a32940572374d09ad309
parent90c7b1562ce540d38f688492543467cc4dfa983c
Add direct tests of division/modulus to testbn.

I'm about to rewrite the division code, so it'll be useful to have a
way to test it directly, particularly one which exercises difficult
cases such as extreme values of the leading word and remainders just
above and below zero.
sshbn.c
testdata/bignum.py