mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-28 18:32:56 +00:00
997be0aba3
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>