mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-29 14:57:27 +02: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>