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
..
2013-07-17 21:45:00 +01:00
2014-02-19 20:09:08 +00:00
2011-02-03 12:03:51 +00:00
2014-03-28 14:49:04 +00:00
2014-04-26 07:59:13 +01:00
2014-02-19 20:09:08 +00:00
2014-02-19 20:09:08 +00:00
2014-02-19 20:09:08 +00:00
2014-04-02 19:54:27 +01:00
2013-01-13 21:04:39 +00:00
2011-02-21 17:51:59 +00:00
2014-02-13 03:11:58 +00:00
2014-04-22 16:58:43 +01:00
2014-04-22 16:58:43 +01:00
2012-02-11 23:41:19 +00:00
2014-04-25 14:31:05 -04:00
2014-02-19 18:02:04 +00:00
2000-02-01 02:21:16 +00:00
2006-10-23 07:41:05 +00:00
2014-02-19 20:09:08 +00:00
2013-10-13 19:15:15 +02:00
2007-06-23 18:47:51 +00:00
2009-04-20 11:33:12 +00:00
2012-06-03 22:00:21 +00:00
2011-05-19 18:09:02 +00:00
2013-01-19 21:23:13 +01:00
2014-02-19 18:02:04 +00:00
2009-03-31 10:38:37 +00:00
2013-08-05 15:45:01 +01:00
2012-09-17 17:21:58 +00:00
2003-11-28 13:10:58 +00:00