Geoff Thorpe a529261891 bignum: fix boundary condition in montgomery logic
It's not clear whether this inconsistency could lead to an actual
computation error, but it involved a BIGNUM being passed around the
montgomery logic in an inconsistent state. This was found using flags
-DBN_DEBUG -DBN_DEBUG_RAND, and working backwards from this assertion
in 'ectest';

ectest: bn_mul.c:960: BN_mul: Assertion `(_bnum2->top == 0) ||
(_bnum2->d[_bnum2->top - 1] != 0)' failed

Signed-off-by: Geoff Thorpe <geoff@openssl.org>
2014-04-30 11:49:31 -04:00
..
2012-12-11 15:52:10 +00:00
2011-10-19 14:59:27 +00:00
2013-06-13 17:26:07 +01:00
2012-03-30 15:43:32 +00:00
2013-10-13 19:15:15 +02:00
2010-06-12 14:13:23 +00:00
2013-06-13 17:26:07 +01:00
2005-08-23 04:14:40 +00:00
2014-03-28 14:49:04 +00:00
2002-11-14 11:22:01 +00:00
2013-06-04 18:47:11 +01:00
2014-02-19 20:09:08 +00:00