Gilles Peskine f4998b0a20 Fix multiplication producing a negative zero
Fix mbedtls_mpi_mul_mpi() when one of the operands is zero and the
other is negative. The sign of the result must be 1, since some
library functions do not treat {-1, 0, NULL} or {-1, n, {0}} as
representing the value 0.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-06-22 12:47:21 +02:00
..
2021-06-21 09:10:55 +01:00
2015-04-08 13:25:31 +02:00
2021-06-18 12:59:38 +02:00
2020-11-26 15:54:35 +01:00
2021-06-18 12:59:38 +02:00
2021-03-09 16:09:18 +00:00
2021-06-18 12:59:38 +02:00