mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-07 14:15:58 -04:00

Fix a bug introduced in "Fix multiplication producing a negative zero" that caused the sign to be forced to +1 when A > 0, B < 0 and B's low-order limb is 0. Add a non-regression test. More generally, systematically test combinations of leading zeros, trailing zeros and signs. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>